LL I3C Constants ¶
Get flags defines ¶
- group I3C_LL_EC_GET_FLAG
-
Flags defines which can be used with LL_I3C_READ_REG function.
Defines
-
LL_I3C_EVR_CFEF
I3C_EVR_CFEF
¶
-
LL_I3C_EVR_TXFEF
I3C_EVR_TXFEF
¶
-
LL_I3C_EVR_CFNFF
I3C_EVR_CFNFF
¶
-
LL_I3C_EVR_SFNEF
I3C_EVR_SFNEF
¶
-
LL_I3C_EVR_TXFNFF
I3C_EVR_TXFNFF
¶
-
LL_I3C_EVR_RXFNEF
I3C_EVR_RXFNEF
¶
-
LL_I3C_EVR_RXLASTF
I3C_EVR_RXLASTF
¶
-
LL_I3C_EVR_TXLASTF
I3C_EVR_TXLASTF
¶
-
LL_I3C_EVR_FCF
I3C_EVR_FCF
¶
-
LL_I3C_EVR_RXTGTENDF
I3C_EVR_RXTGTENDF
¶
-
LL_I3C_EVR_ERRF
I3C_EVR_ERRF
¶
-
LL_I3C_EVR_IBIF
I3C_EVR_IBIF
¶
-
LL_I3C_EVR_IBIENDF
I3C_EVR_IBIENDF
¶
-
LL_I3C_EVR_CRF
I3C_EVR_CRF
¶
-
LL_I3C_EVR_CRUPDF
I3C_EVR_CRUPDF
¶
-
LL_I3C_EVR_HJF
I3C_EVR_HJF
¶
-
LL_I3C_EVR_WKPF
I3C_EVR_WKPF
¶
-
LL_I3C_EVR_GETF
I3C_EVR_GETF
¶
-
LL_I3C_EVR_STAF
I3C_EVR_STAF
¶
-
LL_I3C_EVR_DAUPDF
I3C_EVR_DAUPDF
¶
-
LL_I3C_EVR_MWLUPDF
I3C_EVR_MWLUPDF
¶
-
LL_I3C_EVR_MRLUPDF
I3C_EVR_MRLUPDF
¶
-
LL_I3C_EVR_RSTF
I3C_EVR_RSTF
¶
-
LL_I3C_EVR_ASUPDF
I3C_EVR_ASUPDF
¶
-
LL_I3C_EVR_INTUPDF
I3C_EVR_INTUPDF
¶
-
LL_I3C_EVR_DEFF
I3C_EVR_DEFF
¶
-
LL_I3C_EVR_GRPF
I3C_EVR_GRPF
¶
-
LL_I3C_SER_PERR
I3C_SER_PERR
¶
-
LL_I3C_SER_STALL
I3C_SER_STALL
¶
-
LL_I3C_SER_DOVR
I3C_SER_DOVR
¶
-
LL_I3C_SER_COVR
I3C_SER_COVR
¶
-
LL_I3C_SER_ANACK
I3C_SER_ANACK
¶
-
LL_I3C_SER_DNACK
I3C_SER_DNACK
¶
-
LL_I3C_SER_DERR
I3C_SER_DERR
¶
-
LL_I3C_EVR_CFEF
I3C_EVR_CFEF
¶
- group I3C_LL_EC_GET_FLAG
-
Flags defines which can be used with LL_I3C_READ_REG function.
Defines
-
LL_I3C_EVR_CFEF
I3C_EVR_CFEF
-
LL_I3C_EVR_TXFEF
I3C_EVR_TXFEF
-
LL_I3C_EVR_CFNFF
I3C_EVR_CFNFF
-
LL_I3C_EVR_SFNEF
I3C_EVR_SFNEF
-
LL_I3C_EVR_TXFNFF
I3C_EVR_TXFNFF
-
LL_I3C_EVR_RXFNEF
I3C_EVR_RXFNEF
-
LL_I3C_EVR_RXLASTF
I3C_EVR_RXLASTF
-
LL_I3C_EVR_TXLASTF
I3C_EVR_TXLASTF
-
LL_I3C_EVR_FCF
I3C_EVR_FCF
-
LL_I3C_EVR_RXTGTENDF
I3C_EVR_RXTGTENDF
-
LL_I3C_EVR_ERRF
I3C_EVR_ERRF
-
LL_I3C_EVR_IBIF
I3C_EVR_IBIF
-
LL_I3C_EVR_IBIENDF
I3C_EVR_IBIENDF
-
LL_I3C_EVR_CRF
I3C_EVR_CRF
-
LL_I3C_EVR_CRUPDF
I3C_EVR_CRUPDF
-
LL_I3C_EVR_HJF
I3C_EVR_HJF
-
LL_I3C_EVR_WKPF
I3C_EVR_WKPF
-
LL_I3C_EVR_GETF
I3C_EVR_GETF
-
LL_I3C_EVR_STAF
I3C_EVR_STAF
-
LL_I3C_EVR_DAUPDF
I3C_EVR_DAUPDF
-
LL_I3C_EVR_MWLUPDF
I3C_EVR_MWLUPDF
-
LL_I3C_EVR_MRLUPDF
I3C_EVR_MRLUPDF
-
LL_I3C_EVR_RSTF
I3C_EVR_RSTF
-
LL_I3C_EVR_ASUPDF
I3C_EVR_ASUPDF
-
LL_I3C_EVR_INTUPDF
I3C_EVR_INTUPDF
-
LL_I3C_EVR_DEFF
I3C_EVR_DEFF
-
LL_I3C_EVR_GRPF
I3C_EVR_GRPF
-
LL_I3C_SER_PERR
I3C_SER_PERR
-
LL_I3C_SER_STALL
I3C_SER_STALL
-
LL_I3C_SER_DOVR
I3C_SER_DOVR
-
LL_I3C_SER_COVR
I3C_SER_COVR
-
LL_I3C_SER_ANACK
I3C_SER_ANACK
-
LL_I3C_SER_DNACK
I3C_SER_DNACK
-
LL_I3C_SER_DERR
I3C_SER_DERR
-
LL_I3C_EVR_CFEF
I3C_EVR_CFEF
- group I3C_LL_EC_GET_FLAG
-
Flags defines which can be used with LL_I3C_READ_REG function.
Defines
-
LL_I3C_EVR_CFEF
I3C_EVR_CFEF
-
LL_I3C_EVR_TXFEF
I3C_EVR_TXFEF
-
LL_I3C_EVR_CFNFF
I3C_EVR_CFNFF
-
LL_I3C_EVR_SFNEF
I3C_EVR_SFNEF
-
LL_I3C_EVR_TXFNFF
I3C_EVR_TXFNFF
-
LL_I3C_EVR_RXFNEF
I3C_EVR_RXFNEF
-
LL_I3C_EVR_RXLASTF
I3C_EVR_RXLASTF
-
LL_I3C_EVR_TXLASTF
I3C_EVR_TXLASTF
-
LL_I3C_EVR_FCF
I3C_EVR_FCF
-
LL_I3C_EVR_RXTGTENDF
I3C_EVR_RXTGTENDF
-
LL_I3C_EVR_ERRF
I3C_EVR_ERRF
-
LL_I3C_EVR_IBIF
I3C_EVR_IBIF
-
LL_I3C_EVR_IBIENDF
I3C_EVR_IBIENDF
-
LL_I3C_EVR_CRF
I3C_EVR_CRF
-
LL_I3C_EVR_CRUPDF
I3C_EVR_CRUPDF
-
LL_I3C_EVR_HJF
I3C_EVR_HJF
-
LL_I3C_EVR_WKPF
I3C_EVR_WKPF
-
LL_I3C_EVR_GETF
I3C_EVR_GETF
-
LL_I3C_EVR_STAF
I3C_EVR_STAF
-
LL_I3C_EVR_DAUPDF
I3C_EVR_DAUPDF
-
LL_I3C_EVR_MWLUPDF
I3C_EVR_MWLUPDF
-
LL_I3C_EVR_MRLUPDF
I3C_EVR_MRLUPDF
-
LL_I3C_EVR_RSTF
I3C_EVR_RSTF
-
LL_I3C_EVR_ASUPDF
I3C_EVR_ASUPDF
-
LL_I3C_EVR_INTUPDF
I3C_EVR_INTUPDF
-
LL_I3C_EVR_DEFF
I3C_EVR_DEFF
-
LL_I3C_EVR_GRPF
I3C_EVR_GRPF
-
LL_I3C_SER_PERR
I3C_SER_PERR
-
LL_I3C_SER_STALL
I3C_SER_STALL
-
LL_I3C_SER_DOVR
I3C_SER_DOVR
-
LL_I3C_SER_COVR
I3C_SER_COVR
-
LL_I3C_SER_ANACK
I3C_SER_ANACK
-
LL_I3C_SER_DNACK
I3C_SER_DNACK
-
LL_I3C_SER_DERR
I3C_SER_DERR
-
LL_I3C_EVR_CFEF
I3C_EVR_CFEF
IT Defines ¶
- group I3C_LL_EC_IT
-
IT defines and combinations of defines.
Defines
-
LL_I3C_IER_CFNFIE
I3C_IER_CFNFIE
¶
-
LL_I3C_IER_SFNEIE
I3C_IER_SFNEIE
¶
-
LL_I3C_IER_TXFNFIE
I3C_IER_TXFNFIE
¶
-
LL_I3C_IER_RXFNEIE
I3C_IER_RXFNEIE
¶
-
LL_I3C_IER_FCIE
I3C_IER_FCIE
¶
-
LL_I3C_IER_RXTGTENDIE
I3C_IER_RXTGTENDIE
¶
-
LL_I3C_IER_ERRIE
I3C_IER_ERRIE
¶
-
LL_I3C_IER_IBIIE
I3C_IER_IBIIE
¶
-
LL_I3C_IER_IBIENDIE
I3C_IER_IBIENDIE
¶
-
LL_I3C_IER_CRIE
I3C_IER_CRIE
¶
-
LL_I3C_IER_CRUPDIE
I3C_IER_CRUPDIE
¶
-
LL_I3C_IER_HJIE
I3C_IER_HJIE
¶
-
LL_I3C_IER_WKPIE
I3C_IER_WKPIE
¶
-
LL_I3C_IER_GETIE
I3C_IER_GETIE
¶
-
LL_I3C_IER_STAIE
I3C_IER_STAIE
¶
-
LL_I3C_IER_DAUPDIE
I3C_IER_DAUPDIE
¶
-
LL_I3C_IER_MWLUPDIE
I3C_IER_MWLUPDIE
¶
-
LL_I3C_IER_MRLUPDIE
I3C_IER_MRLUPDIE
¶
-
LL_I3C_IER_RSTIE
I3C_IER_RSTIE
¶
-
LL_I3C_IER_ASUPDIE
I3C_IER_ASUPDIE
¶
-
LL_I3C_IER_INTUPDIE
I3C_IER_INTUPDIE
¶
-
LL_I3C_IER_DEFIE
I3C_IER_DEFIE
¶
-
LL_I3C_IER_GRPIE
I3C_IER_GRPIE
¶
-
LL_I3C_CTRL_TX_IT
(I3C_IER_FCIE
|
I3C_IER_CFNFIE
|
I3C_IER_TXFNFIE
|
I3C_IER_ERRIE)
/*
Ctrl
TX
IT
*/
¶
-
LL_I3C_CTRL_RX_IT
(I3C_IER_FCIE
|
I3C_IER_CFNFIE
|
I3C_IER_RXFNEIE
|
I3C_IER_ERRIE)
/*
Ctrl
RX
IT
*/
¶
-
LL_I3C_CTRL_DAA_IT
(I3C_IER_FCIE
|
I3C_IER_CFNFIE
|
I3C_IER_TXFNFIE
|
I3C_IER_ERRIE)
/*
Ctrl
DAA
IT
*/
¶
-
LL_I3C_TGT_TX_IT
(I3C_IER_FCIE
|
I3C_IER_TXFNFIE
|
I3C_IER_ERRIE)
¶
-
Tgt TX IT
-
LL_I3C_TGT_RX_IT
(I3C_IER_FCIE
|
I3C_IER_RXFNEIE
|
I3C_IER_ERRIE)
¶
-
Tgt RX IT
-
LL_I3C_TGT_CTRLROLE_IT
(I3C_IER_CRUPDIE
|
I3C_IER_ERRIE)
¶
-
Tgt Controller-Role IT
-
LL_I3C_TGT_HOTJOIN_IT
(I3C_IER_DAUPDIE
|
I3C_IER_ERRIE)
¶
-
Tgt Hot-Join IT
-
LL_I3C_TGT_IBI_IT
(I3C_IER_IBIENDIE
|
I3C_IER_ERRIE)
¶
-
Tgt IBI IT
-
LL_I3C_XFER_DMA
(I3C_IER_FCIE
|
I3C_IER_ERRIE)
¶
-
Tgt or Ctrl DMA IT
-
LL_I3C_IER_ALL
0xFFFFFFFFU
¶
-
All
-
LL_I3C_IER_CFNFIE
I3C_IER_CFNFIE
¶
- group I3C_LL_EC_IT
-
IT defines and combinations of defines.
Defines
-
LL_I3C_IER_CFNFIE
I3C_IER_CFNFIE
-
LL_I3C_IER_SFNEIE
I3C_IER_SFNEIE
-
LL_I3C_IER_TXFNFIE
I3C_IER_TXFNFIE
-
LL_I3C_IER_RXFNEIE
I3C_IER_RXFNEIE
-
LL_I3C_IER_FCIE
I3C_IER_FCIE
-
LL_I3C_IER_RXTGTENDIE
I3C_IER_RXTGTENDIE
-
LL_I3C_IER_ERRIE
I3C_IER_ERRIE
-
LL_I3C_IER_IBIIE
I3C_IER_IBIIE
-
LL_I3C_IER_IBIENDIE
I3C_IER_IBIENDIE
-
LL_I3C_IER_CRIE
I3C_IER_CRIE
-
LL_I3C_IER_CRUPDIE
I3C_IER_CRUPDIE
-
LL_I3C_IER_HJIE
I3C_IER_HJIE
-
LL_I3C_IER_WKPIE
I3C_IER_WKPIE
-
LL_I3C_IER_GETIE
I3C_IER_GETIE
-
LL_I3C_IER_STAIE
I3C_IER_STAIE
-
LL_I3C_IER_DAUPDIE
I3C_IER_DAUPDIE
-
LL_I3C_IER_MWLUPDIE
I3C_IER_MWLUPDIE
-
LL_I3C_IER_MRLUPDIE
I3C_IER_MRLUPDIE
-
LL_I3C_IER_RSTIE
I3C_IER_RSTIE
-
LL_I3C_IER_ASUPDIE
I3C_IER_ASUPDIE
-
LL_I3C_IER_INTUPDIE
I3C_IER_INTUPDIE
-
LL_I3C_IER_DEFIE
I3C_IER_DEFIE
-
LL_I3C_IER_GRPIE
I3C_IER_GRPIE
-
LL_I3C_CTRL_TX_IT
(I3C_IER_FCIE
|
I3C_IER_CFNFIE
|
I3C_IER_TXFNFIE
|
I3C_IER_ERRIE)
/*
Ctrl
TX
IT
*/
-
LL_I3C_CTRL_RX_IT
(I3C_IER_FCIE
|
I3C_IER_CFNFIE
|
I3C_IER_RXFNEIE
|
I3C_IER_ERRIE)
/*
Ctrl
RX
IT
*/
-
LL_I3C_CTRL_DAA_IT
(I3C_IER_FCIE
|
I3C_IER_CFNFIE
|
I3C_IER_TXFNFIE
|
I3C_IER_ERRIE)
/*
Ctrl
DAA
IT
*/
-
LL_I3C_TGT_TX_IT
(I3C_IER_FCIE
|
I3C_IER_TXFNFIE
|
I3C_IER_ERRIE)
-
Tgt TX IT
-
LL_I3C_TGT_RX_IT
(I3C_IER_FCIE
|
I3C_IER_RXFNEIE
|
I3C_IER_ERRIE)
-
Tgt RX IT
-
LL_I3C_TGT_CTRLROLE_IT
(I3C_IER_CRUPDIE
|
I3C_IER_ERRIE)
-
Tgt Controller-Role IT
-
LL_I3C_TGT_HOTJOIN_IT
(I3C_IER_DAUPDIE
|
I3C_IER_ERRIE)
-
Tgt Hot-Join IT
-
LL_I3C_TGT_IBI_IT
(I3C_IER_IBIENDIE
|
I3C_IER_ERRIE)
-
Tgt IBI IT
-
LL_I3C_XFER_DMA
(I3C_IER_FCIE
|
I3C_IER_ERRIE)
-
Tgt or Ctrl DMA IT
-
LL_I3C_IER_ALL
0xFFFFFFFFU
-
All
-
LL_I3C_IER_CFNFIE
I3C_IER_CFNFIE
- group I3C_LL_EC_IT
-
IT defines and combinations of defines.
Defines
-
LL_I3C_IER_CFNFIE
I3C_IER_CFNFIE
-
LL_I3C_IER_SFNEIE
I3C_IER_SFNEIE
-
LL_I3C_IER_TXFNFIE
I3C_IER_TXFNFIE
-
LL_I3C_IER_RXFNEIE
I3C_IER_RXFNEIE
-
LL_I3C_IER_FCIE
I3C_IER_FCIE
-
LL_I3C_IER_RXTGTENDIE
I3C_IER_RXTGTENDIE
-
LL_I3C_IER_ERRIE
I3C_IER_ERRIE
-
LL_I3C_IER_IBIIE
I3C_IER_IBIIE
-
LL_I3C_IER_IBIENDIE
I3C_IER_IBIENDIE
-
LL_I3C_IER_CRIE
I3C_IER_CRIE
-
LL_I3C_IER_CRUPDIE
I3C_IER_CRUPDIE
-
LL_I3C_IER_HJIE
I3C_IER_HJIE
-
LL_I3C_IER_WKPIE
I3C_IER_WKPIE
-
LL_I3C_IER_GETIE
I3C_IER_GETIE
-
LL_I3C_IER_STAIE
I3C_IER_STAIE
-
LL_I3C_IER_DAUPDIE
I3C_IER_DAUPDIE
-
LL_I3C_IER_MWLUPDIE
I3C_IER_MWLUPDIE
-
LL_I3C_IER_MRLUPDIE
I3C_IER_MRLUPDIE
-
LL_I3C_IER_RSTIE
I3C_IER_RSTIE
-
LL_I3C_IER_ASUPDIE
I3C_IER_ASUPDIE
-
LL_I3C_IER_INTUPDIE
I3C_IER_INTUPDIE
-
LL_I3C_IER_DEFIE
I3C_IER_DEFIE
-
LL_I3C_IER_GRPIE
I3C_IER_GRPIE
-
LL_I3C_CTRL_TX_IT
(I3C_IER_FCIE
|
I3C_IER_CFNFIE
|
I3C_IER_TXFNFIE
|
I3C_IER_ERRIE)
/*
Ctrl
TX
IT
*/
-
LL_I3C_CTRL_RX_IT
(I3C_IER_FCIE
|
I3C_IER_CFNFIE
|
I3C_IER_RXFNEIE
|
I3C_IER_ERRIE)
/*
Ctrl
RX
IT
*/
-
LL_I3C_CTRL_DAA_IT
(I3C_IER_FCIE
|
I3C_IER_CFNFIE
|
I3C_IER_TXFNFIE
|
I3C_IER_ERRIE)
/*
Ctrl
DAA
IT
*/
-
LL_I3C_TGT_TX_IT
(I3C_IER_FCIE
|
I3C_IER_TXFNFIE
|
I3C_IER_ERRIE)
-
Tgt TX IT
-
LL_I3C_TGT_RX_IT
(I3C_IER_FCIE
|
I3C_IER_RXFNEIE
|
I3C_IER_ERRIE)
-
Tgt RX IT
-
LL_I3C_TGT_CTRLROLE_IT
(I3C_IER_CRUPDIE
|
I3C_IER_ERRIE)
-
Tgt Controller-Role IT
-
LL_I3C_TGT_HOTJOIN_IT
(I3C_IER_DAUPDIE
|
I3C_IER_ERRIE)
-
Tgt Hot-Join IT
-
LL_I3C_TGT_IBI_IT
(I3C_IER_IBIENDIE
|
I3C_IER_ERRIE)
-
Tgt IBI IT
-
LL_I3C_XFER_DMA
(I3C_IER_FCIE
|
I3C_IER_ERRIE)
-
Tgt or Ctrl DMA IT
-
LL_I3C_IER_ALL
0xFFFFFFFFU
-
All
-
LL_I3C_IER_CFNFIE
I3C_IER_CFNFIE
MASKS IT Defines ¶
- group I3C_LL_EC_MASK_IT
-
Masks interrupt defines which can be used with LL_I3C_READ_REG and LL_I3C_WRITE_REG functions.
Defines
-
LL_I3C_MISR_CFNFMIS
I3C_MISR_CFNFMIS
¶
-
LL_I3C_MISR_SFNEMIS
I3C_MISR_SFNEMIS
¶
-
LL_I3C_MISR_TXFNFMIS
I3C_MISR_TXFNFMIS
¶
-
LL_I3C_MISR_RXFNEMIS
I3C_MISR_RXFNEMIS
¶
-
LL_I3C_MISR_FCMIS
I3C_MISR_FCMIS
¶
-
LL_I3C_MISR_RXTGTENDMIS
I3C_MISR_RXTGTENDMIS
¶
-
LL_I3C_MISR_ERRMIS
I3C_MISR_ERRMIS
¶
-
LL_I3C_MISR_IBIMIS
I3C_MISR_IBIMIS
¶
-
LL_I3C_MISR_IBIENDMIS
I3C_MISR_IBIENDMIS
¶
-
LL_I3C_MISR_CRMIS
I3C_MISR_CRMIS
¶
-
LL_I3C_MISR_CRUPDMIS
I3C_MISR_CRUPDMIS
¶
-
LL_I3C_MISR_HJMIS
I3C_MISR_HJMIS
¶
-
LL_I3C_MISR_WKPMIS
I3C_MISR_WKPMIS
¶
-
LL_I3C_MISR_GETMIS
I3C_MISR_GETMIS
¶
-
LL_I3C_MISR_STAMIS
I3C_MISR_STAMIS
¶
-
LL_I3C_MISR_DAUPDMIS
I3C_MISR_DAUPDMIS
¶
-
LL_I3C_MISR_MWLUPDMIS
I3C_MISR_MWLUPDMIS
¶
-
LL_I3C_MISR_MRLUPDMIS
I3C_MISR_MRLUPDMIS
¶
-
LL_I3C_MISR_RSTMIS
I3C_MISR_RSTMIS
¶
-
LL_I3C_MISR_ASUPDMIS
I3C_MISR_ASUPDMIS
¶
-
LL_I3C_MISR_INTUPDMIS
I3C_MISR_INTUPDMIS
¶
-
LL_I3C_MISR_DEFMIS
I3C_MISR_DEFMIS
¶
-
LL_I3C_MISR_GRPMIS
I3C_MISR_GRPMIS
¶
-
LL_I3C_MISR_CFNFMIS
I3C_MISR_CFNFMIS
¶
- group I3C_LL_EC_MASK_IT
-
Masks interrupt defines which can be used with LL_I3C_READ_REG and LL_I3C_WRITE_REG functions.
Defines
-
LL_I3C_MISR_CFNFMIS
I3C_MISR_CFNFMIS
-
LL_I3C_MISR_SFNEMIS
I3C_MISR_SFNEMIS
-
LL_I3C_MISR_TXFNFMIS
I3C_MISR_TXFNFMIS
-
LL_I3C_MISR_RXFNEMIS
I3C_MISR_RXFNEMIS
-
LL_I3C_MISR_FCMIS
I3C_MISR_FCMIS
-
LL_I3C_MISR_RXTGTENDMIS
I3C_MISR_RXTGTENDMIS
-
LL_I3C_MISR_ERRMIS
I3C_MISR_ERRMIS
-
LL_I3C_MISR_IBIMIS
I3C_MISR_IBIMIS
-
LL_I3C_MISR_IBIENDMIS
I3C_MISR_IBIENDMIS
-
LL_I3C_MISR_CRMIS
I3C_MISR_CRMIS
-
LL_I3C_MISR_CRUPDMIS
I3C_MISR_CRUPDMIS
-
LL_I3C_MISR_HJMIS
I3C_MISR_HJMIS
-
LL_I3C_MISR_WKPMIS
I3C_MISR_WKPMIS
-
LL_I3C_MISR_GETMIS
I3C_MISR_GETMIS
-
LL_I3C_MISR_STAMIS
I3C_MISR_STAMIS
-
LL_I3C_MISR_DAUPDMIS
I3C_MISR_DAUPDMIS
-
LL_I3C_MISR_MWLUPDMIS
I3C_MISR_MWLUPDMIS
-
LL_I3C_MISR_MRLUPDMIS
I3C_MISR_MRLUPDMIS
-
LL_I3C_MISR_RSTMIS
I3C_MISR_RSTMIS
-
LL_I3C_MISR_ASUPDMIS
I3C_MISR_ASUPDMIS
-
LL_I3C_MISR_INTUPDMIS
I3C_MISR_INTUPDMIS
-
LL_I3C_MISR_DEFMIS
I3C_MISR_DEFMIS
-
LL_I3C_MISR_GRPMIS
I3C_MISR_GRPMIS
-
LL_I3C_MISR_CFNFMIS
I3C_MISR_CFNFMIS
- group I3C_LL_EC_MASK_IT
-
Masks interrupt defines which can be used with LL_I3C_READ_REG and LL_I3C_WRITE_REG functions.
Defines
-
LL_I3C_MISR_CFNFMIS
I3C_MISR_CFNFMIS
-
LL_I3C_MISR_SFNEMIS
I3C_MISR_SFNEMIS
-
LL_I3C_MISR_TXFNFMIS
I3C_MISR_TXFNFMIS
-
LL_I3C_MISR_RXFNEMIS
I3C_MISR_RXFNEMIS
-
LL_I3C_MISR_FCMIS
I3C_MISR_FCMIS
-
LL_I3C_MISR_RXTGTENDMIS
I3C_MISR_RXTGTENDMIS
-
LL_I3C_MISR_ERRMIS
I3C_MISR_ERRMIS
-
LL_I3C_MISR_IBIMIS
I3C_MISR_IBIMIS
-
LL_I3C_MISR_IBIENDMIS
I3C_MISR_IBIENDMIS
-
LL_I3C_MISR_CRMIS
I3C_MISR_CRMIS
-
LL_I3C_MISR_CRUPDMIS
I3C_MISR_CRUPDMIS
-
LL_I3C_MISR_HJMIS
I3C_MISR_HJMIS
-
LL_I3C_MISR_WKPMIS
I3C_MISR_WKPMIS
-
LL_I3C_MISR_GETMIS
I3C_MISR_GETMIS
-
LL_I3C_MISR_STAMIS
I3C_MISR_STAMIS
-
LL_I3C_MISR_DAUPDMIS
I3C_MISR_DAUPDMIS
-
LL_I3C_MISR_MWLUPDMIS
I3C_MISR_MWLUPDMIS
-
LL_I3C_MISR_MRLUPDMIS
I3C_MISR_MRLUPDMIS
-
LL_I3C_MISR_RSTMIS
I3C_MISR_RSTMIS
-
LL_I3C_MISR_ASUPDMIS
I3C_MISR_ASUPDMIS
-
LL_I3C_MISR_INTUPDMIS
I3C_MISR_INTUPDMIS
-
LL_I3C_MISR_DEFMIS
I3C_MISR_DEFMIS
-
LL_I3C_MISR_GRPMIS
I3C_MISR_GRPMIS
-
LL_I3C_MISR_CFNFMIS
I3C_MISR_CFNFMIS
MODE ¶
- group I3C_LL_EC_MODE
- group I3C_LL_EC_MODE
-
Defines
-
LL_I3C_MODE_CONTROLLER
I3C_CFGR_CRINIT
-
I3C controller mode
-
LL_I3C_MODE_TARGET
0x00000000U
-
I3C target (controller capable) mode
-
LL_I3C_MODE_CONTROLLER
I3C_CFGR_CRINIT
- group I3C_LL_EC_MODE
-
Defines
-
LL_I3C_MODE_CONTROLLER
I3C_CFGR_CRINIT
-
I3C controller mode
-
LL_I3C_MODE_TARGET
0x00000000U
-
I3C target (controller capable) mode
-
LL_I3C_MODE_CONTROLLER
I3C_CFGR_CRINIT
DMA Register data ¶
- group I3C_LL_EC_DMA_REG_DATA
-
Defines
-
LL_I3C_DMA_REG_DATA_TRANSMIT_BYTE
0x0U
¶
-
Get addr of data register used for transmission in byte
-
LL_I3C_DMA_REG_DATA_RECEIVE_BYTE
0x1U
¶
-
Get addr of data register used for reception in byte
-
LL_I3C_DMA_REG_DATA_TRANSMIT_WORD
0x2U
¶
-
Get addr of data register used for transmission in Word
-
LL_I3C_DMA_REG_DATA_RECEIVE_WORD
0x3U
¶
-
Get addr of data register used for reception in Word
-
LL_I3C_DMA_REG_STATUS
0x4U
¶
-
Get addr of status register used for transfer status in Word
-
LL_I3C_DMA_REG_CONTROL
0x5U
¶
-
Get addr of control register used for transfer control in Word
-
LL_I3C_DMA_REG_DATA_TRANSMIT_BYTE
0x0U
¶
- group I3C_LL_EC_DMA_REG_DATA
-
Defines
-
LL_I3C_DMA_REG_DATA_TRANSMIT_BYTE
0x0U
-
Get addr of data register used for transmission in byte
-
LL_I3C_DMA_REG_DATA_RECEIVE_BYTE
0x1U
-
Get addr of data register used for reception in byte
-
LL_I3C_DMA_REG_DATA_TRANSMIT_WORD
0x2U
-
Get addr of data register used for transmission in Word
-
LL_I3C_DMA_REG_DATA_RECEIVE_WORD
0x3U
-
Get addr of data register used for reception in Word
-
LL_I3C_DMA_REG_STATUS
0x4U
-
Get addr of status register used for transfer status in Word
-
LL_I3C_DMA_REG_CONTROL
0x5U
-
Get addr of control register used for transfer control in Word
-
LL_I3C_DMA_REG_DATA_TRANSMIT_BYTE
0x0U
- group I3C_LL_EC_DMA_REG_DATA
-
Defines
-
LL_I3C_DMA_REG_DATA_TRANSMIT_BYTE
0x0U
-
Get addr of data register used for transmission in byte
-
LL_I3C_DMA_REG_DATA_RECEIVE_BYTE
0x1U
-
Get addr of data register used for reception in byte
-
LL_I3C_DMA_REG_DATA_TRANSMIT_WORD
0x2U
-
Get addr of data register used for transmission in Word
-
LL_I3C_DMA_REG_DATA_RECEIVE_WORD
0x3U
-
Get addr of data register used for reception in Word
-
LL_I3C_DMA_REG_STATUS
0x4U
-
Get addr of status register used for transfer status in Word
-
LL_I3C_DMA_REG_CONTROL
0x5U
-
Get addr of control register used for transfer control in Word
-
LL_I3C_DMA_REG_DATA_TRANSMIT_BYTE
0x0U
Rx threshold ¶
- group I3C_LL_EC_RX_THRESHOLD
- group I3C_LL_EC_RX_THRESHOLD
-
Defines
-
LL_I3C_RXFIFO_THRESHOLD_1_8
0x00000000U
-
Rx FIFO threshold is 1 byte in a FIFO depth of 8 bytes
-
LL_I3C_RXFIFO_THRESHOLD_1_2
I3C_CFGR_RXTHRES
-
Rx FIFO threshold is 1 word in a FIFO depth of 2 word
-
LL_I3C_RXFIFO_THRESHOLD_1_8
0x00000000U
- group I3C_LL_EC_RX_THRESHOLD
-
Defines
-
LL_I3C_RXFIFO_THRESHOLD_1_8
0x00000000U
-
Rx FIFO threshold is 1 byte in a FIFO depth of 8 bytes
-
LL_I3C_RXFIFO_THRESHOLD_1_2
I3C_CFGR_RXTHRES
-
Rx FIFO threshold is 1 word in a FIFO depth of 2 word
-
LL_I3C_RXFIFO_THRESHOLD_1_8
0x00000000U
Tx threshold ¶
- group I3C_LL_EC_TX_THRESHOLD
- group I3C_LL_EC_TX_THRESHOLD
-
Defines
-
LL_I3C_TXFIFO_THRESHOLD_1_8
0x00000000U
-
Tx FIFO threshold is 1 byte in a FIFO depth of 8 bytes
-
LL_I3C_TXFIFO_THRESHOLD_1_2
I3C_CFGR_TXTHRES
-
Tx FIFO threshold is 1 word in a FIFO depth of 2 words
-
LL_I3C_TXFIFO_THRESHOLD_1_8
0x00000000U
- group I3C_LL_EC_TX_THRESHOLD
-
Defines
-
LL_I3C_TXFIFO_THRESHOLD_1_8
0x00000000U
-
Tx FIFO threshold is 1 byte in a FIFO depth of 8 bytes
-
LL_I3C_TXFIFO_THRESHOLD_1_2
I3C_CFGR_TXTHRES
-
Tx FIFO threshold is 1 word in a FIFO depth of 2 words
-
LL_I3C_TXFIFO_THRESHOLD_1_8
0x00000000U
Controller fifo configuration ¶
- group I3C_LL_EC_CTRL_FIFO_CONFIG
-
Defines
-
LL_I3C_CTRL_FIFO_NONE
0
¶
-
Control and status FIFO disable
-
LL_I3C_CTRL_FIFO_CONTROL_ONLY
I3C_CFGR_TMODE
¶
-
Control FIFO enable
-
LL_I3C_CTRL_FIFO_STATUS_ONLY
I3C_CFGR_SMODE
¶
-
Status FIFO enable
-
LL_I3C_CTRL_FIFO_ALL
(I3C_CFGR_SMODE
|
I3C_CFGR_TMODE)
¶
-
Control and status FIFO enable
Defines
-
LL_I3C_END_OF_FRAME_CPLT_DISABLE
I3C_CFGR_FCFDIS
¶
-
Frame complete flag is clear by HW
-
LL_I3C_END_OF_FRAME_CPLT_ENABLE
0x00000000U
¶
-
Frame complete flag must be clear by SW (default config)
Defines
-
LL_I3C_PAYLOAD_EMPTY
0x00000000U
¶
-
Empty payload, no additional data after IBI ack
-
LL_I3C_PAYLOAD_1_BYTE
I3C_MAXRLR_IBIP_0
¶
-
1 additional data byte after IBI ack
-
LL_I3C_PAYLOAD_2_BYTE
I3C_MAXRLR_IBIP_1
¶
-
2 additional data bytes after IBI ack
-
LL_I3C_PAYLOAD_3_BYTE
(I3C_MAXRLR_IBIP_1
|
I3C_MAXRLR_IBIP_0)
¶
-
3 additional data bytes after IBI ack
-
LL_I3C_PAYLOAD_4_BYTE
I3C_MAXRLR_IBIP_2
¶
-
4 additional data bytes after IBI ack
Defines
-
LL_I3C_SDA_HOLD_TIME_0_5
0x00000000U
¶
-
SDA hold time is 0.5 x ti3cclk
-
LL_I3C_SDA_HOLD_TIME_1_5
I3C_TIMINGR1_SDA_HD_0
¶
-
SDA hold time is 1.5 x ti3cclk
-
LL_I3C_SDA_HOLD_TIME_2_5
I3C_TIMINGR1_SDA_HD_1
¶
-
SDA hold time is 2.5 x ti3cclk
-
LL_I3C_SDA_HOLD_TIME_3_5
(I3C_TIMINGR1_SDA_HD_1
|
I3C_TIMINGR1_SDA_HD_0)
¶
-
SDA hold time is 3.5 x ti3cclk
Defines
-
LL_I3C_OWN_ACTIVITY_STATE_0
0x00000000U
¶
-
Own ctrl activity state 0
-
LL_I3C_OWN_ACTIVITY_STATE_1
I3C_TIMINGR1_ASNCR_0
¶
-
Own ctrl activity state 1
-
LL_I3C_OWN_ACTIVITY_STATE_2
I3C_TIMINGR1_ASNCR_1
¶
-
Own ctrl activity state 2
-
LL_I3C_OWN_ACTIVITY_STATE_3
(I3C_TIMINGR1_ASNCR_1
|
I3C_TIMINGR1_ASNCR_0)
¶
-
Own ctrl activity state 3
Defines
-
LL_I3C_NO_DATA_SPEED_LIMITATION
0x00000000U
¶
-
No max data speed limitation
-
LL_I3C_MAX_DATA_SPEED_LIMITATION
I3C_BCR_BCR0
¶
-
Max data speed limitation
Defines
-
LL_I3C_IBI_REQUEST_NOT_SUPPORTED
0x00000000U
¶
-
IBI request not supported (BCR1 = 0)
-
LL_I3C_IBI_REQUEST_SUPPORTED
I3C_BCR_BCR1
¶
-
IBI request supported (BCR1 = 1)
Defines
-
LL_I3C_IBI_NO_ADDITIONAL_DATA
0x00000000U
¶
-
No data byte follows the accepted IBI
-
LL_I3C_IBI_ADDITIONAL_DATA
I3C_BCR_BCR2
¶
-
A Mandatory data Byte (MDB) follows the accepted IBI
Defines
-
LL_I3C_NO_OFFLINE_CAPABLE
0x00000000U
¶
-
No Offline capable
-
LL_I3C_OFFLINE_CAPABLE
I3C_BCR_BCR3
¶
-
Offline capable
Defines
-
LL_I3C_VIRTUAL_TARGET_NOT_SUPPORTED
0x00000000U
¶
-
Virtual target not supported (BCR4 = 0)
-
LL_I3C_VIRTUAL_TARGET_SUPPORTED
I3C_BCR_BCR4
¶
-
Virtual target supported (BCR4 = 1)
Defines
-
LL_I3C_ADV_CAP_NOT_SUPPORTED
0x00000000U
¶
-
Advanced capabilities not supported (BCR5 = 0)
-
LL_I3C_ADV_CAP_SUPPORTED
I3C_BCR_BCR5
¶
-
Advanced capabilities supported (BCR5 = 1)
Defines
-
LL_I3C_DEVICE_ROLE_AS_TARGET
0x00000000U
¶
-
I3C target
-
LL_I3C_DEVICE_ROLE_AS_CONTROLLER
I3C_BCR_BCR6
¶
-
I3C controller
Defines
-
LL_I3C_MDB_NO_PENDING_READ_NOTIFICATION
0x00000000U
¶
-
No support of pending read notification via the IBI MDB[7:0] value
-
LL_I3C_MDB_PENDING_READ_NOTIFICATION
I3C_GETCAPR_CAPPEND
¶
-
Support of pending read notification via the IBI MDB[7:0] value
Defines
-
LL_I3C_HANDOFF_GRP_ADDR_NOT_SUPPORTED
0x00000000U
¶
-
Group address handoff is not supported
-
LL_I3C_HANDOFF_GRP_ADDR_SUPPORTED
I3C_CRCAPR_CAPGRP
¶
-
Group address handoff is supported
Defines
-
LL_I3C_HANDOFF_NOT_DELAYED
0x00000000U
¶
-
Additional time to controllership handoff is not needed
-
LL_I3C_HANDOFF_DELAYED
I3C_CRCAPR_CAPDHOFF
¶
-
Additional time to controllership handoff is needed
Defines
-
LL_I3C_HANDOFF_ACTIVITY_STATE_0
0x00000000U
¶
-
Activity state 0 after controllership handoff
-
LL_I3C_HANDOFF_ACTIVITY_STATE_1
I3C_GETMXDSR_HOFFAS_0
¶
-
Activity state 1 after controllership handoff
-
LL_I3C_HANDOFF_ACTIVITY_STATE_2
I3C_GETMXDSR_HOFFAS_1
¶
-
Activity state 2 after controllership handoff
-
LL_I3C_HANDOFF_ACTIVITY_STATE_3
(I3C_GETMXDSR_HOFFAS_1
|
I3C_GETMXDSR_HOFFAS_0)
¶
-
Activity state 3 after controllership handoff
Defines
-
LL_I3C_GETMXDS_FORMAT_1
0x00000000U
¶
-
GETMXDS CCC format 1 is used, no MaxRdTurn field in response
-
LL_I3C_GETMXDS_FORMAT_2_LSB
I3C_GETMXDSR_FMT_0
¶
-
GETMXDS CCC format 2 is used, MaxRdTurn field in response, LSB = RDTURN[7:0]
-
LL_I3C_GETMXDS_FORMAT_2_MID
I3C_GETMXDSR_FMT_1
¶
-
GETMXDS CCC format 2 is used, MaxRdTurn field in response, middle byte = RDTURN[7:0]
-
LL_I3C_GETMXDS_FORMAT_2_MSB
(I3C_GETMXDSR_FMT_1
|
I3C_GETMXDSR_FMT_0)
¶
-
GETMXDS CCC format 2 is used, MaxRdTurn field in response, MSB = RDTURN[7:0]
Defines
-
LL_I3C_TURNAROUND_TIME_TSCO_LESS_12NS
0x00000000U
¶
-
clock-to-data turnaround time tSCO <= 12ns
-
LL_I3C_TURNAROUND_TIME_TSCO_GREATER_12NS
I3C_GETMXDSR_TSCO
¶
-
clock-to-data turnaround time tSCO > 12ns
Defines
-
LL_I3C_BUS_ACTIVITY_STATE_0
0x00000000U
¶
-
Controller on the bus activity state 0
-
LL_I3C_BUS_ACTIVITY_STATE_1
I3C_DEVR0_AS_0
¶
-
Controller on the bus activity state 1
-
LL_I3C_BUS_ACTIVITY_STATE_2
I3C_DEVR0_AS_1
¶
-
Controller on the bus activity state 2
-
LL_I3C_BUS_ACTIVITY_STATE_3
(I3C_DEVR0_AS_1
|
I3C_DEVR0_AS_0)
¶
-
Controller on the bus activity state 3
Defines
-
LL_I3C_RESET_ACTION_NONE
0x00000000U
¶
-
No reset action required
-
LL_I3C_RESET_ACTION_PARTIAL
I3C_DEVR0_RSTACT_0
¶
-
Reset of some internal registers of the peripheral
-
LL_I3C_RESET_ACTION_FULL
I3C_DEVR0_RSTACT_1
¶
-
Reset all internal registers of the peripheral
Defines
-
LL_I3C_DIRECTION_WRITE
0x00000000U
¶
-
Write transfer
-
LL_I3C_DIRECTION_READ
I3C_CR_RNW
¶
-
Read transfer
Defines
-
LL_I3C_GENERATE_STOP
I3C_CR_MEND
¶
-
Generate stop condition after sending a message
-
LL_I3C_GENERATE_RESTART
0x00000000U
¶
-
Generate Restart condition after sending a message
Defines
-
LL_I3C_CONTROLLER_MTYPE_RELEASE
0x00000000U
¶
-
SCL output clock stops running until next instruction executed
-
LL_I3C_CONTROLLER_MTYPE_HEADER
I3C_CR_MTYPE_0
¶
-
Header message
-
LL_I3C_CONTROLLER_MTYPE_PRIVATE
I3C_CR_MTYPE_1
¶
-
Private message Type
-
LL_I3C_CONTROLLER_MTYPE_DIRECT
(I3C_CR_MTYPE_1
|
I3C_CR_MTYPE_0)
¶
-
Direct message Type
-
LL_I3C_CONTROLLER_MTYPE_LEGACY_I2C
I3C_CR_MTYPE_2
¶
-
Legacy I2C message Type
-
LL_I3C_CONTROLLER_MTYPE_CCC
(I3C_CR_MTYPE_2
|
I3C_CR_MTYPE_1)
¶
-
Common command Code
Defines
-
LL_I3C_DEFINE_BYTE
(0x00000001U)
¶
-
Define used to construct enum hal_i3c_transfer_mode_t
Defines
-
LL_I3C_TARGET_MTYPE_HOT_JOIN
I3C_CR_MTYPE_3
¶
-
Hot-Join
-
LL_I3C_TARGET_MTYPE_CONTROLLER_ROLE_REQ
(I3C_CR_MTYPE_3
|
I3C_CR_MTYPE_0)
¶
-
Controller-role request
-
LL_I3C_TARGET_MTYPE_IBI
(I3C_CR_MTYPE_3
|
I3C_CR_MTYPE_1)
¶
-
In Band interrupt (IBI)
Defines
-
LL_I3C_MESSAGE_ERROR
0x00000000U
¶
-
An error has been detected in the message
-
LL_I3C_MESSAGE_SUCCESS
I3C_SR_OK
¶
-
The message ended with success
Defines
-
LL_I3C_MESSAGE_DIRECTION_WRITE
0x00000000U
¶
-
write data or command
-
LL_I3C_MESSAGE_DIRECTION_READ
I3C_SR_DIR
¶
-
read data
Defines
-
LL_I3C_CONTROLLER_ERROR_CE0
0x00000000U
¶
-
Ctrl detected an illegally formatted CCC
-
LL_I3C_CONTROLLER_ERROR_CE1
I3C_SER_CODERR_0
¶
-
Ctrl detected that Tx data are different than expected
-
LL_I3C_CONTROLLER_ERROR_CE2
I3C_SER_CODERR_1
¶
-
Ctrl detected that broadcast address 7’h7E has been NACKed
-
LL_I3C_CONTROLLER_ERROR_CE3
(I3C_SER_CODERR_1
|
I3C_SER_CODERR_0)
¶
-
Ctrl detected that new ctrl did not drive the bus after ctrl-role handoff
Defines
-
LL_I3C_TARGET_ERROR_TE0
I3C_SER_CODERR_3
¶
-
Tgt detected an invalid broadcast address
-
LL_I3C_TARGET_ERROR_TE1
(I3C_SER_CODERR_3
|
I3C_SER_CODERR_0)
¶
-
Tgt detected an invalid CCC Code
-
LL_I3C_TARGET_ERROR_TE2
(I3C_SER_CODERR_3
|
I3C_SER_CODERR_1)
¶
-
Tgt detected an invalid write data
-
LL_I3C_TARGET_ERROR_TE3
(I3C_SER_CODERR_3
|
I3C_SER_CODERR_1
|
I3C_SER_CODERR_0)
¶
-
Tgt detected an invalid assigned address during DAA
-
LL_I3C_TARGET_ERROR_TE4
(I3C_SER_CODERR_3
|
I3C_SER_CODERR_2)
¶
-
Tgt detected 7’h7E missing after restart during DAA
-
LL_I3C_TARGET_ERROR_TE5
(I3C_SER_CODERR_3
|
I3C_SER_CODERR_2
|
I3C_SER_CODERR_0)
¶
-
Tgt detected an illegally formatted CCC
-
LL_I3C_TARGET_ERROR_TE6
(I3C_SER_CODERR_3
|
I3C_SER_CODERR_2
|
I3C_SER_CODERR_1)
¶
-
Tgt detected that transmitted data on the bus is different than expected
Defines
-
LL_I3C_IBI_CAPABILITY
I3C_DEVRX_IBIACK
¶
-
Ctrl acknowledge tgt IBI capable
-
LL_I3C_IBI_NO_CAPABILITY
0x00000000U
¶
-
Ctrl no acknowledge tgt IBI capable
Defines
-
LL_I3C_IBI_DATA_ENABLE
I3C_DEVRX_IBIDEN
¶
-
A mandatory data byte follows the IBI acknowledgement
-
LL_I3C_IBI_DATA_DISABLE
0x00000000U
¶
-
No mandatory data byte follows the IBI acknowledgement
Defines
-
LL_I3C_CR_CAPABILITY
I3C_DEVRX_CRACK
¶
-
Ctrl acknowledge tgt ctrl-role capable
-
LL_I3C_CR_NO_CAPABILITY
0x00000000U
¶
-
Ctrl no acknowledge tgt ctrl-role capable
Defines
-
LL_I3C_SUSP_ENABLE
I3C_DEVRX_SUSP
¶
-
Suspend current transfer: emit STOP and flush C-FIFO/TX-FIFO after IBI
-
LL_I3C_SUSP_DISABLE
0x00000000U
¶
-
Do not suspend: normal next control flow (restart/stop depends on CR)
Defines
-
LL_I3C_BROADCAST_RSTDAA
(0x00000006U)
¶
-
Bit definition to manage RSTDAA
-
LL_I3C_BROADCAST_ENTDAA
(0x00000007U)
¶
-
Bit definition to manage ENTDAA
-
LL_I3C_BCR_IN_PAYLOAD_SHIFT
48
¶
-
BCR Position can be used with in ENTDAA payload
-
LL_I3C_DCR_IN_PAYLOAD_SHIFT
56
¶
-
DCR Position can be used with ENTDAA payload
-
LL_I3C_PID_IN_PAYLOAD_MASK
0xFFFFFFFFFFFFU
¶
-
Mask can be combined with ENTDAA payload
-
LL_I3C_MIPIMID_PID_SHIFT
33
¶
-
MIPIMID Position can be used with PID
-
LL_I3C_MIPIMID_PID_MASK
0x7FFFU
¶
-
Mask can be combined with PID
-
LL_I3C_IDTSEL_PID_SHIFT
32
¶
-
IDTSEL Position can be used with PID
-
LL_I3C_IDTSEL_PID_MASK
0x01U
¶
-
Mask can be combined with PID
-
LL_I3C_PART_ID_PID_SHIFT
16
¶
-
Part ID Position can be used with PID
-
LL_I3C_PART_ID_PID_MASK
0xFFFFU
¶
-
Mask can be combined with PID
-
LL_I3C_MIPIID_PID_SHIFT
12
¶
-
MIPI Instance ID Position can be used with PID
-
LL_I3C_MIPIID_PID_MASK
0xFU
¶
-
Mask can be combined with PID
-
LL_I3C_BCR_BCR_POS
(0U)
¶
-
Bus Characteristics
-
LL_I3C_BCR_BCR_MSK
(0xFFUL
<<
LL_I3C_BCR_BCR_POS
)
¶
-
0x000000FF
-
LL_I3C_BCR_BCR0_POS
(0U)
¶
-
Max Data Speed Limitation
-
LL_I3C_BCR_BCR0_MSK
(0x1UL
<<
LL_I3C_BCR_BCR0_POS
)
¶
-
0x00000001
-
LL_I3C_BCR_BCR1_POS
(1U)
¶
-
IBI Request capable
-
LL_I3C_BCR_BCR1_MSK
(0x1UL
<<
LL_I3C_BCR_BCR1_POS
)
¶
-
0x00000002
-
LL_I3C_BCR_BCR2_POS
(2U)
¶
-
IBI Payload additional Mandatory Data Byte
-
LL_I3C_BCR_BCR2_MSK
(0x1UL
<<
LL_I3C_BCR_BCR2_POS
)
¶
-
0x00000004
-
LL_I3C_BCR_BCR3_POS
(3U)
¶
-
Offline capable
-
LL_I3C_BCR_BCR3_MSK
(0x1UL
<<
LL_I3C_BCR_BCR3_POS
)
¶
-
0x00000008
-
LL_I3C_BCR_BCR4_POS
(4U)
¶
-
Virtual target support
-
LL_I3C_BCR_BCR4_MSK
(0x1UL
<<
LL_I3C_BCR_BCR4_POS
)
¶
-
0x00000010
-
LL_I3C_BCR_BCR5_POS
(5U)
¶
-
Advanced capabilities
-
LL_I3C_BCR_BCR5_MSK
(0x1UL
<<
LL_I3C_BCR_BCR5_POS
)
¶
-
0x00000020
-
LL_I3C_BCR_BCR6_POS
(6U)
¶
-
Device role shared during Dyn Addr Assignment
-
LL_I3C_BCR_BCR6_MSK
(0x1UL
<<
LL_I3C_BCR_BCR6_POS
)
¶
-
0x00000040
Defines
-
LL_I3C_CTRL_STALL_ACK
I3C_TIMINGR2_STALLA
¶
-
Inserts a stall after each address or data byte ACK/NACK extend target processing time.
-
LL_I3C_CTRL_STALL_CCC
I3C_TIMINGR2_STALLC
¶
-
Inserts a stall on the parity (T) bit phase of a direct/broadcast CCC so targets can decode the opcode before data phase.
-
LL_I3C_CTRL_STALL_TX
I3C_TIMINGR2_STALLD
¶
-
Inserts a stall on the parity (T) bit of transmitted data allowing target additional time to latch received byte.
-
LL_I3C_CTRL_STALL_RX
I3C_TIMINGR2_STALLT
¶
-
Inserts a stall before the controller samples target data (read path) so target can prepare next byte.
-
LL_I3C_CTRL_STALL_I2C_ACK
I3C_TIMINGR2_STALLL
¶
-
Inserts a stall after address ACK/NACK in legacy I2C read/write so target can prepare for next phase.
-
LL_I3C_CTRL_STALL_I2C_TX
I3C_TIMINGR2_STALLS
¶
-
Inserts a stall after data ACK/NACK in legacy I2C write allowing target to process/write incoming byte.
-
LL_I3C_CTRL_STALL_I2C_RX
I3C_TIMINGR2_STALLR
¶
-
Inserts a stall after data ACK/NACK in legacy I2C read so target can load the next byte to transmit.
-
LL_I3C_CTRL_STALL_ALL
(
LL_I3C_CTRL_STALL_ACK
|
LL_I3C_CTRL_STALL_CCC
|
LL_I3C_CTRL_STALL_TX
\
|
LL_I3C_CTRL_STALL_RX | LL_I3C_CTRL_STALL_I2C_ACK | LL_I3C_CTRL_STALL_I2C_TX\
|
LL_I3C_CTRL_STALL_I2C_RX ) ¶
-
Enable all stall points.
-
LL_I3C_CTRL_STALL_NONE
0UL
¶
-
Disable all stall insertion (default high throughput).
-
LL_I3C_CTRL_FIFO_NONE
0
¶
- group I3C_LL_EC_CTRL_FIFO_CONFIG
-
Defines
-
LL_I3C_CTRL_FIFO_NONE
0
-
Control and status FIFO disable
-
LL_I3C_CTRL_FIFO_CONTROL_ONLY
I3C_CFGR_TMODE
-
Control FIFO enable
-
LL_I3C_CTRL_FIFO_STATUS_ONLY
I3C_CFGR_SMODE
-
Status FIFO enable
-
LL_I3C_CTRL_FIFO_ALL
(I3C_CFGR_SMODE
|
I3C_CFGR_TMODE)
-
Control and status FIFO enable
Defines
-
LL_I3C_END_OF_FRAME_CPLT_DISABLE
I3C_CFGR_FCFDIS
-
Frame complete flag is clear by HW
-
LL_I3C_END_OF_FRAME_CPLT_ENABLE
0x00000000U
-
Frame complete flag must be clear by SW (default config)
Defines
-
LL_I3C_PAYLOAD_EMPTY
0x00000000U
-
Empty payload, no additional data after IBI ack
-
LL_I3C_PAYLOAD_1_BYTE
I3C_MAXRLR_IBIP_0
-
1 additional data byte after IBI ack
-
LL_I3C_PAYLOAD_2_BYTE
I3C_MAXRLR_IBIP_1
-
2 additional data bytes after IBI ack
-
LL_I3C_PAYLOAD_3_BYTE
(I3C_MAXRLR_IBIP_1
|
I3C_MAXRLR_IBIP_0)
-
3 additional data bytes after IBI ack
-
LL_I3C_PAYLOAD_4_BYTE
I3C_MAXRLR_IBIP_2
-
4 additional data bytes after IBI ack
Defines
-
LL_I3C_SDA_HOLD_TIME_0_5
0x00000000U
-
SDA hold time is 0.5 x ti3cclk
-
LL_I3C_SDA_HOLD_TIME_1_5
I3C_TIMINGR1_SDA_HD_0
-
SDA hold time is 1.5 x ti3cclk
-
LL_I3C_SDA_HOLD_TIME_2_5
I3C_TIMINGR1_SDA_HD_1
-
SDA hold time is 2.5 x ti3cclk
-
LL_I3C_SDA_HOLD_TIME_3_5
(I3C_TIMINGR1_SDA_HD_1
|
I3C_TIMINGR1_SDA_HD_0)
-
SDA hold time is 3.5 x ti3cclk
Defines
-
LL_I3C_OWN_ACTIVITY_STATE_0
0x00000000U
-
Own ctrl activity state 0
-
LL_I3C_OWN_ACTIVITY_STATE_1
I3C_TIMINGR1_ASNCR_0
-
Own ctrl activity state 1
-
LL_I3C_OWN_ACTIVITY_STATE_2
I3C_TIMINGR1_ASNCR_1
-
Own ctrl activity state 2
-
LL_I3C_OWN_ACTIVITY_STATE_3
(I3C_TIMINGR1_ASNCR_1
|
I3C_TIMINGR1_ASNCR_0)
-
Own ctrl activity state 3
Defines
-
LL_I3C_NO_DATA_SPEED_LIMITATION
0x00000000U
-
No max data speed limitation
-
LL_I3C_MAX_DATA_SPEED_LIMITATION
I3C_BCR_BCR0
-
Max data speed limitation
Defines
-
LL_I3C_IBI_REQUEST_NOT_SUPPORTED
0x00000000U
-
IBI request not supported (BCR1 = 0)
-
LL_I3C_IBI_REQUEST_SUPPORTED
I3C_BCR_BCR1
-
IBI request supported (BCR1 = 1)
Defines
-
LL_I3C_IBI_NO_ADDITIONAL_DATA
0x00000000U
-
No data byte follows the accepted IBI
-
LL_I3C_IBI_ADDITIONAL_DATA
I3C_BCR_BCR2
-
A Mandatory data Byte (MDB) follows the accepted IBI
Defines
-
LL_I3C_NO_OFFLINE_CAPABLE
0x00000000U
-
No Offline capable
-
LL_I3C_OFFLINE_CAPABLE
I3C_BCR_BCR3
-
Offline capable
Defines
-
LL_I3C_VIRTUAL_TARGET_NOT_SUPPORTED
0x00000000U
-
Virtual target not supported (BCR4 = 0)
-
LL_I3C_VIRTUAL_TARGET_SUPPORTED
I3C_BCR_BCR4
-
Virtual target supported (BCR4 = 1)
Defines
-
LL_I3C_ADV_CAP_NOT_SUPPORTED
0x00000000U
-
Advanced capabilities not supported (BCR5 = 0)
-
LL_I3C_ADV_CAP_SUPPORTED
I3C_BCR_BCR5
-
Advanced capabilities supported (BCR5 = 1)
Defines
-
LL_I3C_DEVICE_ROLE_AS_TARGET
0x00000000U
-
I3C target
-
LL_I3C_DEVICE_ROLE_AS_CONTROLLER
I3C_BCR_BCR6
-
I3C controller
Defines
-
LL_I3C_MDB_NO_PENDING_READ_NOTIFICATION
0x00000000U
-
No support of pending read notification via the IBI MDB[7:0] value
-
LL_I3C_MDB_PENDING_READ_NOTIFICATION
I3C_GETCAPR_CAPPEND
-
Support of pending read notification via the IBI MDB[7:0] value
Defines
-
LL_I3C_HANDOFF_GRP_ADDR_NOT_SUPPORTED
0x00000000U
-
Group address handoff is not supported
-
LL_I3C_HANDOFF_GRP_ADDR_SUPPORTED
I3C_CRCAPR_CAPGRP
-
Group address handoff is supported
Defines
-
LL_I3C_HANDOFF_NOT_DELAYED
0x00000000U
-
Additional time to controllership handoff is not needed
-
LL_I3C_HANDOFF_DELAYED
I3C_CRCAPR_CAPDHOFF
-
Additional time to controllership handoff is needed
Defines
-
LL_I3C_HANDOFF_ACTIVITY_STATE_0
0x00000000U
-
Activity state 0 after controllership handoff
-
LL_I3C_HANDOFF_ACTIVITY_STATE_1
I3C_GETMXDSR_HOFFAS_0
-
Activity state 1 after controllership handoff
-
LL_I3C_HANDOFF_ACTIVITY_STATE_2
I3C_GETMXDSR_HOFFAS_1
-
Activity state 2 after controllership handoff
-
LL_I3C_HANDOFF_ACTIVITY_STATE_3
(I3C_GETMXDSR_HOFFAS_1
|
I3C_GETMXDSR_HOFFAS_0)
-
Activity state 3 after controllership handoff
Defines
-
LL_I3C_GETMXDS_FORMAT_1
0x00000000U
-
GETMXDS CCC format 1 is used, no MaxRdTurn field in response
-
LL_I3C_GETMXDS_FORMAT_2_LSB
I3C_GETMXDSR_FMT_0
-
GETMXDS CCC format 2 is used, MaxRdTurn field in response, LSB = RDTURN[7:0]
-
LL_I3C_GETMXDS_FORMAT_2_MID
I3C_GETMXDSR_FMT_1
-
GETMXDS CCC format 2 is used, MaxRdTurn field in response, middle byte = RDTURN[7:0]
-
LL_I3C_GETMXDS_FORMAT_2_MSB
(I3C_GETMXDSR_FMT_1
|
I3C_GETMXDSR_FMT_0)
-
GETMXDS CCC format 2 is used, MaxRdTurn field in response, MSB = RDTURN[7:0]
Defines
-
LL_I3C_TURNAROUND_TIME_TSCO_LESS_12NS
0x00000000U
-
clock-to-data turnaround time tSCO <= 12ns
-
LL_I3C_TURNAROUND_TIME_TSCO_GREATER_12NS
I3C_GETMXDSR_TSCO
-
clock-to-data turnaround time tSCO > 12ns
Defines
-
LL_I3C_BUS_ACTIVITY_STATE_0
0x00000000U
-
Controller on the bus activity state 0
-
LL_I3C_BUS_ACTIVITY_STATE_1
I3C_DEVR0_AS_0
-
Controller on the bus activity state 1
-
LL_I3C_BUS_ACTIVITY_STATE_2
I3C_DEVR0_AS_1
-
Controller on the bus activity state 2
-
LL_I3C_BUS_ACTIVITY_STATE_3
(I3C_DEVR0_AS_1
|
I3C_DEVR0_AS_0)
-
Controller on the bus activity state 3
Defines
-
LL_I3C_RESET_ACTION_NONE
0x00000000U
-
No reset action required
-
LL_I3C_RESET_ACTION_PARTIAL
I3C_DEVR0_RSTACT_0
-
Reset of some internal registers of the peripheral
-
LL_I3C_RESET_ACTION_FULL
I3C_DEVR0_RSTACT_1
-
Reset all internal registers of the peripheral
Defines
-
LL_I3C_DIRECTION_WRITE
0x00000000U
-
Write transfer
-
LL_I3C_DIRECTION_READ
I3C_CR_RNW
-
Read transfer
Defines
-
LL_I3C_GENERATE_STOP
I3C_CR_MEND
-
Generate stop condition after sending a message
-
LL_I3C_GENERATE_RESTART
0x00000000U
-
Generate Restart condition after sending a message
Defines
-
LL_I3C_CONTROLLER_MTYPE_RELEASE
0x00000000U
-
SCL output clock stops running until next instruction executed
-
LL_I3C_CONTROLLER_MTYPE_HEADER
I3C_CR_MTYPE_0
-
Header message
-
LL_I3C_CONTROLLER_MTYPE_PRIVATE
I3C_CR_MTYPE_1
-
Private message Type
-
LL_I3C_CONTROLLER_MTYPE_DIRECT
(I3C_CR_MTYPE_1
|
I3C_CR_MTYPE_0)
-
Direct message Type
-
LL_I3C_CONTROLLER_MTYPE_LEGACY_I2C
I3C_CR_MTYPE_2
-
Legacy I2C message Type
-
LL_I3C_CONTROLLER_MTYPE_CCC
(I3C_CR_MTYPE_2
|
I3C_CR_MTYPE_1)
-
Common command Code
Defines
-
LL_I3C_DEFINE_BYTE
(0x00000001U)
-
Define used to construct enum hal_i3c_transfer_mode_t
Defines
-
LL_I3C_TARGET_MTYPE_HOT_JOIN
I3C_CR_MTYPE_3
-
Hot-Join
-
LL_I3C_TARGET_MTYPE_CONTROLLER_ROLE_REQ
(I3C_CR_MTYPE_3
|
I3C_CR_MTYPE_0)
-
Controller-role request
-
LL_I3C_TARGET_MTYPE_IBI
(I3C_CR_MTYPE_3
|
I3C_CR_MTYPE_1)
-
In Band interrupt (IBI)
Defines
-
LL_I3C_MESSAGE_ERROR
0x00000000U
-
An error has been detected in the message
-
LL_I3C_MESSAGE_SUCCESS
I3C_SR_OK
-
The message ended with success
Defines
-
LL_I3C_MESSAGE_DIRECTION_WRITE
0x00000000U
-
write data or command
-
LL_I3C_MESSAGE_DIRECTION_READ
I3C_SR_DIR
-
read data
Defines
-
LL_I3C_CONTROLLER_ERROR_CE0
0x00000000U
-
Ctrl detected an illegally formatted CCC
-
LL_I3C_CONTROLLER_ERROR_CE1
I3C_SER_CODERR_0
-
Ctrl detected that Tx data are different than expected
-
LL_I3C_CONTROLLER_ERROR_CE2
I3C_SER_CODERR_1
-
Ctrl detected that broadcast address 7’h7E has been NACKed
-
LL_I3C_CONTROLLER_ERROR_CE3
(I3C_SER_CODERR_1
|
I3C_SER_CODERR_0)
-
Ctrl detected that new ctrl did not drive the bus after ctrl-role handoff
Defines
-
LL_I3C_TARGET_ERROR_TE0
I3C_SER_CODERR_3
-
Tgt detected an invalid broadcast address
-
LL_I3C_TARGET_ERROR_TE1
(I3C_SER_CODERR_3
|
I3C_SER_CODERR_0)
-
Tgt detected an invalid CCC Code
-
LL_I3C_TARGET_ERROR_TE2
(I3C_SER_CODERR_3
|
I3C_SER_CODERR_1)
-
Tgt detected an invalid write data
-
LL_I3C_TARGET_ERROR_TE3
(I3C_SER_CODERR_3
|
I3C_SER_CODERR_1
|
I3C_SER_CODERR_0)
-
Tgt detected an invalid assigned address during DAA
-
LL_I3C_TARGET_ERROR_TE4
(I3C_SER_CODERR_3
|
I3C_SER_CODERR_2)
-
Tgt detected 7’h7E missing after restart during DAA
-
LL_I3C_TARGET_ERROR_TE5
(I3C_SER_CODERR_3
|
I3C_SER_CODERR_2
|
I3C_SER_CODERR_0)
-
Tgt detected an illegally formatted CCC
-
LL_I3C_TARGET_ERROR_TE6
(I3C_SER_CODERR_3
|
I3C_SER_CODERR_2
|
I3C_SER_CODERR_1)
-
Tgt detected that transmitted data on the bus is different than expected
Defines
-
LL_I3C_IBI_CAPABILITY
I3C_DEVRX_IBIACK
-
Ctrl acknowledge tgt IBI capable
-
LL_I3C_IBI_NO_CAPABILITY
0x00000000U
-
Ctrl no acknowledge tgt IBI capable
Defines
-
LL_I3C_IBI_DATA_ENABLE
I3C_DEVRX_IBIDEN
-
A mandatory data byte follows the IBI acknowledgement
-
LL_I3C_IBI_DATA_DISABLE
0x00000000U
-
No mandatory data byte follows the IBI acknowledgement
Defines
-
LL_I3C_CR_CAPABILITY
I3C_DEVRX_CRACK
-
Ctrl acknowledge tgt ctrl-role capable
-
LL_I3C_CR_NO_CAPABILITY
0x00000000U
-
Ctrl no acknowledge tgt ctrl-role capable
Defines
-
LL_I3C_SUSP_ENABLE
I3C_DEVRX_SUSP
-
Suspend current transfer: emit STOP and flush C-FIFO/TX-FIFO after IBI
-
LL_I3C_SUSP_DISABLE
0x00000000U
-
Do not suspend: normal next control flow (restart/stop depends on CR)
Defines
-
LL_I3C_BROADCAST_RSTDAA
(0x00000006U)
-
Bit definition to manage RSTDAA
-
LL_I3C_BROADCAST_ENTDAA
(0x00000007U)
-
Bit definition to manage ENTDAA
-
LL_I3C_BCR_IN_PAYLOAD_SHIFT
48
-
BCR Position can be used with in ENTDAA payload
-
LL_I3C_DCR_IN_PAYLOAD_SHIFT
56
-
DCR Position can be used with ENTDAA payload
-
LL_I3C_PID_IN_PAYLOAD_MASK
0xFFFFFFFFFFFFU
-
Mask can be combined with ENTDAA payload
-
LL_I3C_MIPIMID_PID_SHIFT
33
-
MIPIMID Position can be used with PID
-
LL_I3C_MIPIMID_PID_MASK
0x7FFFU
-
Mask can be combined with PID
-
LL_I3C_IDTSEL_PID_SHIFT
32
-
IDTSEL Position can be used with PID
-
LL_I3C_IDTSEL_PID_MASK
0x01U
-
Mask can be combined with PID
-
LL_I3C_PART_ID_PID_SHIFT
16
-
Part ID Position can be used with PID
-
LL_I3C_PART_ID_PID_MASK
0xFFFFU
-
Mask can be combined with PID
-
LL_I3C_MIPIID_PID_SHIFT
12
-
MIPI Instance ID Position can be used with PID
-
LL_I3C_MIPIID_PID_MASK
0xFU
-
Mask can be combined with PID
-
LL_I3C_BCR_BCR_POS
(0U)
-
Bus Characteristics
-
LL_I3C_BCR_BCR_MSK
(0xFFUL
<<
LL_I3C_BCR_BCR_POS
)
-
0x000000FF
-
LL_I3C_BCR_BCR0_POS
(0U)
-
Max Data Speed Limitation
-
LL_I3C_BCR_BCR0_MSK
(0x1UL
<<
LL_I3C_BCR_BCR0_POS
)
-
0x00000001
-
LL_I3C_BCR_BCR1_POS
(1U)
-
IBI Request capable
-
LL_I3C_BCR_BCR1_MSK
(0x1UL
<<
LL_I3C_BCR_BCR1_POS
)
-
0x00000002
-
LL_I3C_BCR_BCR2_POS
(2U)
-
IBI Payload additional Mandatory Data Byte
-
LL_I3C_BCR_BCR2_MSK
(0x1UL
<<
LL_I3C_BCR_BCR2_POS
)
-
0x00000004
-
LL_I3C_BCR_BCR3_POS
(3U)
-
Offline capable
-
LL_I3C_BCR_BCR3_MSK
(0x1UL
<<
LL_I3C_BCR_BCR3_POS
)
-
0x00000008
-
LL_I3C_BCR_BCR4_POS
(4U)
-
Virtual target support
-
LL_I3C_BCR_BCR4_MSK
(0x1UL
<<
LL_I3C_BCR_BCR4_POS
)
-
0x00000010
-
LL_I3C_BCR_BCR5_POS
(5U)
-
Advanced capabilities
-
LL_I3C_BCR_BCR5_MSK
(0x1UL
<<
LL_I3C_BCR_BCR5_POS
)
-
0x00000020
-
LL_I3C_BCR_BCR6_POS
(6U)
-
Device role shared during Dyn Addr Assignment
-
LL_I3C_BCR_BCR6_MSK
(0x1UL
<<
LL_I3C_BCR_BCR6_POS
)
-
0x00000040
Defines
-
LL_I3C_CTRL_STALL_ACK
I3C_TIMINGR2_STALLA
-
Inserts a stall after each address or data byte ACK/NACK extend target processing time.
-
LL_I3C_CTRL_STALL_CCC
I3C_TIMINGR2_STALLC
-
Inserts a stall on the parity (T) bit phase of a direct/broadcast CCC so targets can decode the opcode before data phase.
-
LL_I3C_CTRL_STALL_TX
I3C_TIMINGR2_STALLD
-
Inserts a stall on the parity (T) bit of transmitted data allowing target additional time to latch received byte.
-
LL_I3C_CTRL_STALL_RX
I3C_TIMINGR2_STALLT
-
Inserts a stall before the controller samples target data (read path) so target can prepare next byte.
-
LL_I3C_CTRL_STALL_I2C_ACK
I3C_TIMINGR2_STALLL
-
Inserts a stall after address ACK/NACK in legacy I2C read/write so target can prepare for next phase.
-
LL_I3C_CTRL_STALL_I2C_TX
I3C_TIMINGR2_STALLS
-
Inserts a stall after data ACK/NACK in legacy I2C write allowing target to process/write incoming byte.
-
LL_I3C_CTRL_STALL_I2C_RX
I3C_TIMINGR2_STALLR
-
Inserts a stall after data ACK/NACK in legacy I2C read so target can load the next byte to transmit.
-
LL_I3C_CTRL_STALL_ALL
(
LL_I3C_CTRL_STALL_ACK
|
LL_I3C_CTRL_STALL_CCC
|
LL_I3C_CTRL_STALL_TX
\
|
LL_I3C_CTRL_STALL_RX | LL_I3C_CTRL_STALL_I2C_ACK | LL_I3C_CTRL_STALL_I2C_TX\
|
LL_I3C_CTRL_STALL_I2C_RX )
-
Enable all stall points.
-
LL_I3C_CTRL_STALL_NONE
0UL
-
Disable all stall insertion (default high throughput).
-
LL_I3C_CTRL_FIFO_NONE
0
- group I3C_LL_EC_CTRL_FIFO_CONFIG
-
Defines
-
LL_I3C_CTRL_FIFO_NONE
0
-
Control and status FIFO disable
-
LL_I3C_CTRL_FIFO_CONTROL_ONLY
I3C_CFGR_TMODE
-
Control FIFO enable
-
LL_I3C_CTRL_FIFO_STATUS_ONLY
I3C_CFGR_SMODE
-
Status FIFO enable
-
LL_I3C_CTRL_FIFO_ALL
(I3C_CFGR_SMODE
|
I3C_CFGR_TMODE)
-
Control and status FIFO enable
Defines
-
LL_I3C_END_OF_FRAME_CPLT_DISABLE
I3C_CFGR_FCFDIS
-
Frame complete flag is clear by HW
-
LL_I3C_END_OF_FRAME_CPLT_ENABLE
0x00000000U
-
Frame complete flag must be clear by SW (default config)
Defines
-
LL_I3C_PAYLOAD_EMPTY
0x00000000U
-
Empty payload, no additional data after IBI ack
-
LL_I3C_PAYLOAD_1_BYTE
I3C_MAXRLR_IBIP_0
-
1 additional data byte after IBI ack
-
LL_I3C_PAYLOAD_2_BYTE
I3C_MAXRLR_IBIP_1
-
2 additional data bytes after IBI ack
-
LL_I3C_PAYLOAD_3_BYTE
(I3C_MAXRLR_IBIP_1
|
I3C_MAXRLR_IBIP_0)
-
3 additional data bytes after IBI ack
-
LL_I3C_PAYLOAD_4_BYTE
I3C_MAXRLR_IBIP_2
-
4 additional data bytes after IBI ack
Defines
-
LL_I3C_SDA_HOLD_TIME_0_5
0x00000000U
-
SDA hold time is 0.5 x ti3cclk
-
LL_I3C_SDA_HOLD_TIME_1_5
I3C_TIMINGR1_SDA_HD_0
-
SDA hold time is 1.5 x ti3cclk
-
LL_I3C_SDA_HOLD_TIME_2_5
I3C_TIMINGR1_SDA_HD_1
-
SDA hold time is 2.5 x ti3cclk
-
LL_I3C_SDA_HOLD_TIME_3_5
(I3C_TIMINGR1_SDA_HD_1
|
I3C_TIMINGR1_SDA_HD_0)
-
SDA hold time is 3.5 x ti3cclk
Defines
-
LL_I3C_OWN_ACTIVITY_STATE_0
0x00000000U
-
Own ctrl activity state 0
-
LL_I3C_OWN_ACTIVITY_STATE_1
I3C_TIMINGR1_ASNCR_0
-
Own ctrl activity state 1
-
LL_I3C_OWN_ACTIVITY_STATE_2
I3C_TIMINGR1_ASNCR_1
-
Own ctrl activity state 2
-
LL_I3C_OWN_ACTIVITY_STATE_3
(I3C_TIMINGR1_ASNCR_1
|
I3C_TIMINGR1_ASNCR_0)
-
Own ctrl activity state 3
Defines
-
LL_I3C_NO_DATA_SPEED_LIMITATION
0x00000000U
-
No max data speed limitation
-
LL_I3C_MAX_DATA_SPEED_LIMITATION
I3C_BCR_BCR0
-
Max data speed limitation
Defines
-
LL_I3C_IBI_REQUEST_NOT_SUPPORTED
0x00000000U
-
IBI request not supported (BCR1 = 0)
-
LL_I3C_IBI_REQUEST_SUPPORTED
I3C_BCR_BCR1
-
IBI request supported (BCR1 = 1)
Defines
-
LL_I3C_IBI_NO_ADDITIONAL_DATA
0x00000000U
-
No data byte follows the accepted IBI
-
LL_I3C_IBI_ADDITIONAL_DATA
I3C_BCR_BCR2
-
A Mandatory data Byte (MDB) follows the accepted IBI
Defines
-
LL_I3C_NO_OFFLINE_CAPABLE
0x00000000U
-
No Offline capable
-
LL_I3C_OFFLINE_CAPABLE
I3C_BCR_BCR3
-
Offline capable
Defines
-
LL_I3C_VIRTUAL_TARGET_NOT_SUPPORTED
0x00000000U
-
Virtual target not supported (BCR4 = 0)
-
LL_I3C_VIRTUAL_TARGET_SUPPORTED
I3C_BCR_BCR4
-
Virtual target supported (BCR4 = 1)
Defines
-
LL_I3C_ADV_CAP_NOT_SUPPORTED
0x00000000U
-
Advanced capabilities not supported (BCR5 = 0)
-
LL_I3C_ADV_CAP_SUPPORTED
I3C_BCR_BCR5
-
Advanced capabilities supported (BCR5 = 1)
Defines
-
LL_I3C_DEVICE_ROLE_AS_TARGET
0x00000000U
-
I3C target
-
LL_I3C_DEVICE_ROLE_AS_CONTROLLER
I3C_BCR_BCR6
-
I3C controller
Defines
-
LL_I3C_MDB_NO_PENDING_READ_NOTIFICATION
0x00000000U
-
No support of pending read notification via the IBI MDB[7:0] value
-
LL_I3C_MDB_PENDING_READ_NOTIFICATION
I3C_GETCAPR_CAPPEND
-
Support of pending read notification via the IBI MDB[7:0] value
Defines
-
LL_I3C_HANDOFF_GRP_ADDR_NOT_SUPPORTED
0x00000000U
-
Group address handoff is not supported
-
LL_I3C_HANDOFF_GRP_ADDR_SUPPORTED
I3C_CRCAPR_CAPGRP
-
Group address handoff is supported
Defines
-
LL_I3C_HANDOFF_NOT_DELAYED
0x00000000U
-
Additional time to controllership handoff is not needed
-
LL_I3C_HANDOFF_DELAYED
I3C_CRCAPR_CAPDHOFF
-
Additional time to controllership handoff is needed
Defines
-
LL_I3C_HANDOFF_ACTIVITY_STATE_0
0x00000000U
-
Activity state 0 after controllership handoff
-
LL_I3C_HANDOFF_ACTIVITY_STATE_1
I3C_GETMXDSR_HOFFAS_0
-
Activity state 1 after controllership handoff
-
LL_I3C_HANDOFF_ACTIVITY_STATE_2
I3C_GETMXDSR_HOFFAS_1
-
Activity state 2 after controllership handoff
-
LL_I3C_HANDOFF_ACTIVITY_STATE_3
(I3C_GETMXDSR_HOFFAS_1
|
I3C_GETMXDSR_HOFFAS_0)
-
Activity state 3 after controllership handoff
Defines
-
LL_I3C_GETMXDS_FORMAT_1
0x00000000U
-
GETMXDS CCC format 1 is used, no MaxRdTurn field in response
-
LL_I3C_GETMXDS_FORMAT_2_LSB
I3C_GETMXDSR_FMT_0
-
GETMXDS CCC format 2 is used, MaxRdTurn field in response, LSB = RDTURN[7:0]
-
LL_I3C_GETMXDS_FORMAT_2_MID
I3C_GETMXDSR_FMT_1
-
GETMXDS CCC format 2 is used, MaxRdTurn field in response, middle byte = RDTURN[7:0]
-
LL_I3C_GETMXDS_FORMAT_2_MSB
(I3C_GETMXDSR_FMT_1
|
I3C_GETMXDSR_FMT_0)
-
GETMXDS CCC format 2 is used, MaxRdTurn field in response, MSB = RDTURN[7:0]
Defines
-
LL_I3C_TURNAROUND_TIME_TSCO_LESS_12NS
0x00000000U
-
clock-to-data turnaround time tSCO <= 12ns
-
LL_I3C_TURNAROUND_TIME_TSCO_GREATER_12NS
I3C_GETMXDSR_TSCO
-
clock-to-data turnaround time tSCO > 12ns
Defines
-
LL_I3C_BUS_ACTIVITY_STATE_0
0x00000000U
-
Controller on the bus activity state 0
-
LL_I3C_BUS_ACTIVITY_STATE_1
I3C_DEVR0_AS_0
-
Controller on the bus activity state 1
-
LL_I3C_BUS_ACTIVITY_STATE_2
I3C_DEVR0_AS_1
-
Controller on the bus activity state 2
-
LL_I3C_BUS_ACTIVITY_STATE_3
(I3C_DEVR0_AS_1
|
I3C_DEVR0_AS_0)
-
Controller on the bus activity state 3
Defines
-
LL_I3C_RESET_ACTION_NONE
0x00000000U
-
No reset action required
-
LL_I3C_RESET_ACTION_PARTIAL
I3C_DEVR0_RSTACT_0
-
Reset of some internal registers of the peripheral
-
LL_I3C_RESET_ACTION_FULL
I3C_DEVR0_RSTACT_1
-
Reset all internal registers of the peripheral
Defines
-
LL_I3C_DIRECTION_WRITE
0x00000000U
-
Write transfer
-
LL_I3C_DIRECTION_READ
I3C_CR_RNW
-
Read transfer
Defines
-
LL_I3C_GENERATE_STOP
I3C_CR_MEND
-
Generate stop condition after sending a message
-
LL_I3C_GENERATE_RESTART
0x00000000U
-
Generate Restart condition after sending a message
Defines
-
LL_I3C_CONTROLLER_MTYPE_RELEASE
0x00000000U
-
SCL output clock stops running until next instruction executed
-
LL_I3C_CONTROLLER_MTYPE_HEADER
I3C_CR_MTYPE_0
-
Header message
-
LL_I3C_CONTROLLER_MTYPE_PRIVATE
I3C_CR_MTYPE_1
-
Private message Type
-
LL_I3C_CONTROLLER_MTYPE_DIRECT
(I3C_CR_MTYPE_1
|
I3C_CR_MTYPE_0)
-
Direct message Type
-
LL_I3C_CONTROLLER_MTYPE_LEGACY_I2C
I3C_CR_MTYPE_2
-
Legacy I2C message Type
-
LL_I3C_CONTROLLER_MTYPE_CCC
(I3C_CR_MTYPE_2
|
I3C_CR_MTYPE_1)
-
Common command Code
Defines
-
LL_I3C_DEFINE_BYTE
(0x00000001U)
-
Define used to construct enum hal_i3c_transfer_mode_t
Defines
-
LL_I3C_TARGET_MTYPE_HOT_JOIN
I3C_CR_MTYPE_3
-
Hot-Join
-
LL_I3C_TARGET_MTYPE_CONTROLLER_ROLE_REQ
(I3C_CR_MTYPE_3
|
I3C_CR_MTYPE_0)
-
Controller-role request
-
LL_I3C_TARGET_MTYPE_IBI
(I3C_CR_MTYPE_3
|
I3C_CR_MTYPE_1)
-
In Band interrupt (IBI)
Defines
-
LL_I3C_MESSAGE_ERROR
0x00000000U
-
An error has been detected in the message
-
LL_I3C_MESSAGE_SUCCESS
I3C_SR_OK
-
The message ended with success
Defines
-
LL_I3C_MESSAGE_DIRECTION_WRITE
0x00000000U
-
write data or command
-
LL_I3C_MESSAGE_DIRECTION_READ
I3C_SR_DIR
-
read data
Defines
-
LL_I3C_CONTROLLER_ERROR_CE0
0x00000000U
-
Ctrl detected an illegally formatted CCC
-
LL_I3C_CONTROLLER_ERROR_CE1
I3C_SER_CODERR_0
-
Ctrl detected that Tx data are different than expected
-
LL_I3C_CONTROLLER_ERROR_CE2
I3C_SER_CODERR_1
-
Ctrl detected that broadcast address 7’h7E has been NACKed
-
LL_I3C_CONTROLLER_ERROR_CE3
(I3C_SER_CODERR_1
|
I3C_SER_CODERR_0)
-
Ctrl detected that new ctrl did not drive the bus after ctrl-role handoff
Defines
-
LL_I3C_TARGET_ERROR_TE0
I3C_SER_CODERR_3
-
Tgt detected an invalid broadcast address
-
LL_I3C_TARGET_ERROR_TE1
(I3C_SER_CODERR_3
|
I3C_SER_CODERR_0)
-
Tgt detected an invalid CCC Code
-
LL_I3C_TARGET_ERROR_TE2
(I3C_SER_CODERR_3
|
I3C_SER_CODERR_1)
-
Tgt detected an invalid write data
-
LL_I3C_TARGET_ERROR_TE3
(I3C_SER_CODERR_3
|
I3C_SER_CODERR_1
|
I3C_SER_CODERR_0)
-
Tgt detected an invalid assigned address during DAA
-
LL_I3C_TARGET_ERROR_TE4
(I3C_SER_CODERR_3
|
I3C_SER_CODERR_2)
-
Tgt detected 7’h7E missing after restart during DAA
-
LL_I3C_TARGET_ERROR_TE5
(I3C_SER_CODERR_3
|
I3C_SER_CODERR_2
|
I3C_SER_CODERR_0)
-
Tgt detected an illegally formatted CCC
-
LL_I3C_TARGET_ERROR_TE6
(I3C_SER_CODERR_3
|
I3C_SER_CODERR_2
|
I3C_SER_CODERR_1)
-
Tgt detected that transmitted data on the bus is different than expected
Defines
-
LL_I3C_IBI_CAPABILITY
I3C_DEVRX_IBIACK
-
Ctrl acknowledge tgt IBI capable
-
LL_I3C_IBI_NO_CAPABILITY
0x00000000U
-
Ctrl no acknowledge tgt IBI capable
Defines
-
LL_I3C_IBI_DATA_ENABLE
I3C_DEVRX_IBIDEN
-
A mandatory data byte follows the IBI acknowledgement
-
LL_I3C_IBI_DATA_DISABLE
0x00000000U
-
No mandatory data byte follows the IBI acknowledgement
Defines
-
LL_I3C_CR_CAPABILITY
I3C_DEVRX_CRACK
-
Ctrl acknowledge tgt ctrl-role capable
-
LL_I3C_CR_NO_CAPABILITY
0x00000000U
-
Ctrl no acknowledge tgt ctrl-role capable
Defines
-
LL_I3C_SUSP_ENABLE
I3C_DEVRX_SUSP
-
Suspend current transfer: emit STOP and flush C-FIFO/TX-FIFO after IBI
-
LL_I3C_SUSP_DISABLE
0x00000000U
-
Do not suspend: normal next control flow (restart/stop depends on CR)
Defines
-
LL_I3C_BROADCAST_RSTDAA
(0x00000006U)
-
Bit definition to manage RSTDAA
-
LL_I3C_BROADCAST_ENTDAA
(0x00000007U)
-
Bit definition to manage ENTDAA
-
LL_I3C_BCR_IN_PAYLOAD_SHIFT
48
-
BCR Position can be used with in ENTDAA payload
-
LL_I3C_DCR_IN_PAYLOAD_SHIFT
56
-
DCR Position can be used with ENTDAA payload
-
LL_I3C_PID_IN_PAYLOAD_MASK
0xFFFFFFFFFFFFU
-
Mask can be combined with ENTDAA payload
-
LL_I3C_MIPIMID_PID_SHIFT
33
-
MIPIMID Position can be used with PID
-
LL_I3C_MIPIMID_PID_MASK
0x7FFFU
-
Mask can be combined with PID
-
LL_I3C_IDTSEL_PID_SHIFT
32
-
IDTSEL Position can be used with PID
-
LL_I3C_IDTSEL_PID_MASK
0x01U
-
Mask can be combined with PID
-
LL_I3C_PART_ID_PID_SHIFT
16
-
Part ID Position can be used with PID
-
LL_I3C_PART_ID_PID_MASK
0xFFFFU
-
Mask can be combined with PID
-
LL_I3C_MIPIID_PID_SHIFT
12
-
MIPI Instance ID Position can be used with PID
-
LL_I3C_MIPIID_PID_MASK
0xFU
-
Mask can be combined with PID
-
LL_I3C_BCR_BCR_POS
(0U)
-
Bus Characteristics
-
LL_I3C_BCR_BCR_MSK
(0xFFUL
<<
LL_I3C_BCR_BCR_POS
)
-
0x000000FF
-
LL_I3C_BCR_BCR0_POS
(0U)
-
Max Data Speed Limitation
-
LL_I3C_BCR_BCR0_MSK
(0x1UL
<<
LL_I3C_BCR_BCR0_POS
)
-
0x00000001
-
LL_I3C_BCR_BCR1_POS
(1U)
-
IBI Request capable
-
LL_I3C_BCR_BCR1_MSK
(0x1UL
<<
LL_I3C_BCR_BCR1_POS
)
-
0x00000002
-
LL_I3C_BCR_BCR2_POS
(2U)
-
IBI Payload additional Mandatory Data Byte
-
LL_I3C_BCR_BCR2_MSK
(0x1UL
<<
LL_I3C_BCR_BCR2_POS
)
-
0x00000004
-
LL_I3C_BCR_BCR3_POS
(3U)
-
Offline capable
-
LL_I3C_BCR_BCR3_MSK
(0x1UL
<<
LL_I3C_BCR_BCR3_POS
)
-
0x00000008
-
LL_I3C_BCR_BCR4_POS
(4U)
-
Virtual target support
-
LL_I3C_BCR_BCR4_MSK
(0x1UL
<<
LL_I3C_BCR_BCR4_POS
)
-
0x00000010
-
LL_I3C_BCR_BCR5_POS
(5U)
-
Advanced capabilities
-
LL_I3C_BCR_BCR5_MSK
(0x1UL
<<
LL_I3C_BCR_BCR5_POS
)
-
0x00000020
-
LL_I3C_BCR_BCR6_POS
(6U)
-
Device role shared during Dyn Addr Assignment
-
LL_I3C_BCR_BCR6_MSK
(0x1UL
<<
LL_I3C_BCR_BCR6_POS
)
-
0x00000040
Defines
-
LL_I3C_CTRL_STALL_ACK
I3C_TIMINGR2_STALLA
-
Inserts a stall after each address or data byte ACK/NACK extend target processing time.
-
LL_I3C_CTRL_STALL_CCC
I3C_TIMINGR2_STALLC
-
Inserts a stall on the parity (T) bit phase of a direct/broadcast CCC so targets can decode the opcode before data phase.
-
LL_I3C_CTRL_STALL_TX
I3C_TIMINGR2_STALLD
-
Inserts a stall on the parity (T) bit of transmitted data allowing target additional time to latch received byte.
-
LL_I3C_CTRL_STALL_RX
I3C_TIMINGR2_STALLT
-
Inserts a stall before the controller samples target data (read path) so target can prepare next byte.
-
LL_I3C_CTRL_STALL_I2C_ACK
I3C_TIMINGR2_STALLL
-
Inserts a stall after address ACK/NACK in legacy I2C read/write so target can prepare for next phase.
-
LL_I3C_CTRL_STALL_I2C_TX
I3C_TIMINGR2_STALLS
-
Inserts a stall after data ACK/NACK in legacy I2C write allowing target to process/write incoming byte.
-
LL_I3C_CTRL_STALL_I2C_RX
I3C_TIMINGR2_STALLR
-
Inserts a stall after data ACK/NACK in legacy I2C read so target can load the next byte to transmit.
-
LL_I3C_CTRL_STALL_ALL
(
LL_I3C_CTRL_STALL_ACK
|
LL_I3C_CTRL_STALL_CCC
|
LL_I3C_CTRL_STALL_TX
\
|
LL_I3C_CTRL_STALL_RX | LL_I3C_CTRL_STALL_I2C_ACK | LL_I3C_CTRL_STALL_I2C_TX\
|
LL_I3C_CTRL_STALL_I2C_RX )
-
Enable all stall points.
-
LL_I3C_CTRL_STALL_NONE
0UL
-
Disable all stall insertion (default high throughput).
-
LL_I3C_CTRL_FIFO_NONE
0
LL I3C Macros ¶
- group I3C_LL_Exported_Macros
-
Defines
-
LL_I3C_GET_BCR
(
PAYLOAD
)
(((uint32_t)((uint64_t)(PAYLOAD)
>>
LL_I3C_BCR_IN_PAYLOAD_SHIFT
))
&
I3C_BCR_BCR)
¶
-
Get Bus Characteristics from payload (64bits) receive during ENTDAA procedure.
- Parameters :
-
PAYLOAD – specifies the Bus Characteristics capabilities retrieve during ENTDAA procedure. This parameter must be a number between Min_Data=0x00(uint64_t) and Max_Data=0xFFFFFFFFFFFFFFFFFF.
- Return values :
-
The – value of BCR Return value between Min_Data=0x00 and Max_Data=0xFF.
-
LL_I3C_GET_IBI_CAPABLE
(
BCR
)
(((((BCR) & I3C_BCR_BCR1_Msk) >> I3C_BCR_BCR1_Pos) == 1U) \
?
LL_I3C_IBI_CAPABILITY : LL_I3C_IBI_NO_CAPABILITY ) ¶
-
Check IBI request capabilities.
- Parameters :
-
BCR – specifies the Bus Characteristics capabilities retrieve during ENTDAA procedure. This parameter must be a number between Min_Data=0x00 and Max_Data=0xFF.
- Return values :
-
Value – of In Band Interrupt capability.
-
LL_I3C_GET_IBI_PAYLOAD
(
BCR
)
(((((BCR) & I3C_BCR_BCR2_Msk) >> I3C_BCR_BCR2_Pos) == 1U) \
?
LL_I3C_IBI_DATA_ENABLE : LL_I3C_IBI_DATA_DISABLE ) ¶
-
Check IBI additional data byte capabilities.
- Parameters :
-
BCR – specifies the Bus Characteristics capabilities retrieve during ENTDAA procedure. This parameter must be a number between Min_Data=0x00 and Max_Data=0xFF.
- Return values :
-
Value – of In Band Interrupt additional data.
-
LL_I3C_GET_CR_CAPABLE
(
BCR
)
(((((BCR) & I3C_BCR_BCR6_Msk) >> I3C_BCR_BCR6_Pos) == 1U) \
?
LL_I3C_CR_CAPABILITY : LL_I3C_CR_NO_CAPABILITY ) ¶
-
Check controller role request capabilities.
- Parameters :
-
BCR – specifies the Bus Characteristics capabilities retrieve during ENTDAA procedure. This parameter must be a number between Min_Data=0x00 and Max_Data=0xFF.
- Return values :
-
Value – of CR capability.
-
LL_I3C_WRITE_REG
(
INSTANCE
,
REG
,
VALUE
)
STM32_WRITE_REG((INSTANCE)->REG,
(VALUE))
¶
-
Write a value in I3C register.
- Parameters :
-
INSTANCE – I3C Instance
REG – Register to be written
VALUE – Value to be written in the register
-
LL_I3C_READ_REG
(
INSTANCE
,
REG
)
STM32_READ_REG((INSTANCE)->REG)
¶
-
Read a value in I3C register.
- Parameters :
-
INSTANCE – I3C Instance
REG – Register to be read
- Return values :
-
Register – value
-
LL_I3C_GET_BCR
(
PAYLOAD
)
(((uint32_t)((uint64_t)(PAYLOAD)
>>
LL_I3C_BCR_IN_PAYLOAD_SHIFT
))
&
I3C_BCR_BCR)
¶
- group I3C_LL_Exported_Macros
-
Defines
-
LL_I3C_GET_BCR
(
PAYLOAD
)
(((uint32_t)((uint64_t)(PAYLOAD)
>>
LL_I3C_BCR_IN_PAYLOAD_SHIFT
))
&
I3C_BCR_BCR)
-
Get Bus Characteristics from payload (64bits) receive during ENTDAA procedure.
- Parameters :
-
PAYLOAD – specifies the Bus Characteristics capabilities retrieve during ENTDAA procedure. This parameter must be a number between Min_Data=0x00(uint64_t) and Max_Data=0xFFFFFFFFFFFFFFFFFF.
- Return values :
-
The – value of BCR Return value between Min_Data=0x00 and Max_Data=0xFF.
-
LL_I3C_GET_IBI_CAPABLE
(
BCR
)
(((((BCR) & I3C_BCR_BCR1_Msk) >> I3C_BCR_BCR1_Pos) == 1U) \
?
LL_I3C_IBI_CAPABILITY : LL_I3C_IBI_NO_CAPABILITY )
-
Check IBI request capabilities.
- Parameters :
-
BCR – specifies the Bus Characteristics capabilities retrieve during ENTDAA procedure. This parameter must be a number between Min_Data=0x00 and Max_Data=0xFF.
- Return values :
-
Value – of In Band Interrupt capability.
-
LL_I3C_GET_IBI_PAYLOAD
(
BCR
)
(((((BCR) & I3C_BCR_BCR2_Msk) >> I3C_BCR_BCR2_Pos) == 1U) \
?
LL_I3C_IBI_DATA_ENABLE : LL_I3C_IBI_DATA_DISABLE )
-
Check IBI additional data byte capabilities.
- Parameters :
-
BCR – specifies the Bus Characteristics capabilities retrieve during ENTDAA procedure. This parameter must be a number between Min_Data=0x00 and Max_Data=0xFF.
- Return values :
-
Value – of In Band Interrupt additional data.
-
LL_I3C_GET_CR_CAPABLE
(
BCR
)
(((((BCR) & I3C_BCR_BCR6_Msk) >> I3C_BCR_BCR6_Pos) == 1U) \
?
LL_I3C_CR_CAPABILITY : LL_I3C_CR_NO_CAPABILITY )
-
Check controller role request capabilities.
- Parameters :
-
BCR – specifies the Bus Characteristics capabilities retrieve during ENTDAA procedure. This parameter must be a number between Min_Data=0x00 and Max_Data=0xFF.
- Return values :
-
Value – of CR capability.
-
LL_I3C_WRITE_REG
(
INSTANCE
,
REG
,
VALUE
)
STM32_WRITE_REG((INSTANCE)->REG,
(VALUE))
-
Write a value in I3C register.
- Parameters :
-
INSTANCE – I3C Instance
REG – Register to be written
VALUE – Value to be written in the register
-
LL_I3C_READ_REG
(
INSTANCE
,
REG
)
STM32_READ_REG((INSTANCE)->REG)
-
Read a value in I3C register.
- Parameters :
-
INSTANCE – I3C Instance
REG – Register to be read
- Return values :
-
Register – value
-
LL_I3C_GET_BCR
(
PAYLOAD
)
(((uint32_t)((uint64_t)(PAYLOAD)
>>
LL_I3C_BCR_IN_PAYLOAD_SHIFT
))
&
I3C_BCR_BCR)
- group I3C_LL_Exported_Macros
-
Defines
-
LL_I3C_GET_BCR
(
PAYLOAD
)
(((uint32_t)((uint64_t)(PAYLOAD)
>>
LL_I3C_BCR_IN_PAYLOAD_SHIFT
))
&
I3C_BCR_BCR)
-
Get Bus Characteristics from payload (64bits) receive during ENTDAA procedure.
- Parameters :
-
PAYLOAD – specifies the Bus Characteristics capabilities retrieve during ENTDAA procedure. This parameter must be a number between Min_Data=0x00(uint64_t) and Max_Data=0xFFFFFFFFFFFFFFFFFF.
- Return values :
-
The – value of BCR Return value between Min_Data=0x00 and Max_Data=0xFF.
-
LL_I3C_GET_IBI_CAPABLE
(
BCR
)
(((((BCR) & I3C_BCR_BCR1_Msk) >> I3C_BCR_BCR1_Pos) == 1U) \
?
LL_I3C_IBI_CAPABILITY : LL_I3C_IBI_NO_CAPABILITY )
-
Check IBI request capabilities.
- Parameters :
-
BCR – specifies the Bus Characteristics capabilities retrieve during ENTDAA procedure. This parameter must be a number between Min_Data=0x00 and Max_Data=0xFF.
- Return values :
-
Value – of In Band Interrupt capability.
-
LL_I3C_GET_IBI_PAYLOAD
(
BCR
)
(((((BCR) & I3C_BCR_BCR2_Msk) >> I3C_BCR_BCR2_Pos) == 1U) \
?
LL_I3C_IBI_DATA_ENABLE : LL_I3C_IBI_DATA_DISABLE )
-
Check IBI additional data byte capabilities.
- Parameters :
-
BCR – specifies the Bus Characteristics capabilities retrieve during ENTDAA procedure. This parameter must be a number between Min_Data=0x00 and Max_Data=0xFF.
- Return values :
-
Value – of In Band Interrupt additional data.
-
LL_I3C_GET_CR_CAPABLE
(
BCR
)
(((((BCR) & I3C_BCR_BCR6_Msk) >> I3C_BCR_BCR6_Pos) == 1U) \
?
LL_I3C_CR_CAPABILITY : LL_I3C_CR_NO_CAPABILITY )
-
Check controller role request capabilities.
- Parameters :
-
BCR – specifies the Bus Characteristics capabilities retrieve during ENTDAA procedure. This parameter must be a number between Min_Data=0x00 and Max_Data=0xFF.
- Return values :
-
Value – of CR capability.
-
LL_I3C_WRITE_REG
(
INSTANCE
,
REG
,
VALUE
)
STM32_WRITE_REG((INSTANCE)->REG,
(VALUE))
-
Write a value in I3C register.
- Parameters :
-
INSTANCE – I3C Instance
REG – Register to be written
VALUE – Value to be written in the register
-
LL_I3C_READ_REG
(
INSTANCE
,
REG
)
STM32_READ_REG((INSTANCE)->REG)
-
Read a value in I3C register.
- Parameters :
-
INSTANCE – I3C Instance
REG – Register to be read
- Return values :
-
Register – value
-
LL_I3C_GET_BCR
(
PAYLOAD
)
(((uint32_t)((uint64_t)(PAYLOAD)
>>
LL_I3C_BCR_IN_PAYLOAD_SHIFT
))
&
I3C_BCR_BCR)
LL I3C Functions ¶
- group I3C_LL_Exported_Functions
-
Functions
-
void
LL_I3C_Enable
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable I3C peripheral (EN = 1).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EN LL_I3C_Enable
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_Disable
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable I3C peripheral (EN = 0).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EN LL_I3C_Disable
Note
Controller mode: before clearing EN, all possible target requests must be disabled using DISEC CCC. Target mode: software is not expected clearing EN unless a partial reset of the IP is needed
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabled
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if the I3C peripheral is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EN LL_I3C_IsEnabled
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_GetRegister_CFGR
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Return raw CFGR register value.
- Reference Manual to LL API cross reference (Register Field Functions) CFGR * LL_I3C_GetRegister_CFGR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – CFGR register content.
-
uint32_t
LL_I3C_GetEnabledIT
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Return raw IER register value.
- Reference Manual to LL API cross reference (Register Field Functions) IER * LL_I3C_GetEnabledIT
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – IER register content.
-
uint32_t
LL_I3C_GetFlag
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
flags
)
¶
-
Return masked EVR flags state.
- Reference Manual to LL API cross reference (Register Field Functions) EVR * LL_I3C_GetFlag
-
- Parameters :
-
p_i3c – I3C Instance.
flags – Mask of EVR bits to check (OR-combination of EVR flags).
- Return values :
-
Masked – EVR value (non-zero bits indicate set flags).
-
uint32_t
LL_I3C_GetRegister_GETMXDSR
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Return raw GETMXDSR register value.
- Reference Manual to LL API cross reference (Register Field Functions) GETMXDSR * LL_I3C_GetRegister_GETMXDSR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – GETMXDSR register content.
-
uint32_t
LL_I3C_GetRegister_MISR
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Return raw MISR register value.
- Reference Manual to LL API cross reference (Register Field Functions) MISR * LL_I3C_GetRegister_MISR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – MISR register content.
-
uint32_t
LL_I3C_GetRegister_BCR
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Return raw BCR register value.
- Reference Manual to LL API cross reference (Register Field Functions) BCR * LL_I3C_GetRegister_BCR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – BCR register content.
-
uint32_t
LL_I3C_GetRegister_SER
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Return raw SER register value.
- Reference Manual to LL API cross reference (Register Field Functions) SER * LL_I3C_GetRegister_SER
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – SER register content.
-
uint32_t
LL_I3C_GetRegister_TIMINGR2
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Return raw TIMINGR2 register value.
- Reference Manual to LL API cross reference (Register Field Functions) TIMINGR2 * LL_I3C_GetRegister_TIMINGR2
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – TIMINGR2 register content.
-
void
LL_I3C_SetRegister_CR
(
I3C_TypeDef
*
p_i3c
,
uint32_t
cr_value
)
¶
-
Write raw value into CR register.
- Reference Manual to LL API cross reference (Register Field Functions) CR * LL_I3C_SetRegister_CR
-
- Parameters :
-
p_i3c – I3C Instance.
cr_value – 32-bit value to program in CR.
-
uint32_t
LL_I3C_IsEnabledReset
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if reset action is required or not required.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 RSTVAL LL_I3C_IsEnabledReset
Note
This bit indicates if reset action field has been updated by HW upon reception of RSTACT during current frame.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetMode
(
I3C_TypeDef
*
p_i3c
,
uint32_t
peripheral_mode
)
¶
-
Configure peripheral mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CRINIT LL_I3C_SetMode
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
peripheral_mode – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetMode
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get peripheral mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CRINIT LL_I3C_GetMode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_EnableArbitrationHeader
(
I3C_TypeDef
*
p_i3c
)
¶
-
An arbitration header (7’h7E) is sent after start in case of legacy I2C or I3C private transfers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR NOARBH LL_I3C_EnableArbitrationHeader
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableArbitrationHeader
(
I3C_TypeDef
*
p_i3c
)
¶
-
Target address is sent directly after a start in case of legacy I2C or I3C private transfers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR NOARBH LL_I3C_DisableArbitrationHeader
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledArbitrationHeader
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if the arbitration header is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR NOARBH LL_I3C_IsEnabledArbitrationHeader
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableResetPattern
(
I3C_TypeDef
*
p_i3c
)
¶
-
A reset pattern is inserted before the STOP at the end of a frame when the last CCC of the frame was RSTACT CCC.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RSTPTRN LL_I3C_EnableResetPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableResetPattern
(
I3C_TypeDef
*
p_i3c
)
¶
-
A single STOP is emitted at the end of a frame.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RSTPTRN LL_I3C_DisableResetPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledResetPattern
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if reset pattern is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RSTPTRN LL_I3C_IsEnabledResetPattern
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableExitPattern
(
I3C_TypeDef
*
p_i3c
)
¶
-
An exit pattern is sent after header (MTYPE = header) to program an escalation fault.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EXITPTRN LL_I3C_EnableExitPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableExitPattern
(
I3C_TypeDef
*
p_i3c
)
¶
-
An exit pattern is not sent after header (MTYPE = header).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EXITPTRN LL_I3C_DisableExitPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledExitPattern
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if exit pattern is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EXITPTRN LL_I3C_IsEnabledExitPattern
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableHighKeeperSDA
(
I3C_TypeDef
*
p_i3c
)
¶
-
High keeper is enabled and will be used in place of standard open drain pull up device during handoff procedures.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HKSDAEN LL_I3C_EnableHighKeeperSDA
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHighKeeperSDA
(
I3C_TypeDef
*
p_i3c
)
¶
-
High keeper is disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HKSDAEN LL_I3C_DisableHighKeeperSDA
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHighKeeperSDA
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if High keeper is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HKSDAEN LL_I3C_IsEnabledHighKeeperSDA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableHJAck
(
I3C_TypeDef
*
p_i3c
)
¶
-
Hot-Join request is acked. Current frame on the bus is continued. A Hot-Join interrupt is sent through HJF flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HJACK LL_I3C_EnableHJAck
Note
This bit can be used when I3C is acting as a controller.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHJAck
(
I3C_TypeDef
*
p_i3c
)
¶
-
Hot-Join request is NACKed. Current frame on the bus is continued. No Hot-Join interrupt is generated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HJACK LL_I3C_DisableHJAck
Note
This bit can be used when I3C is acting as a controller.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHJAck
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if Hot-Join request acknowledgement is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HJACK LL_I3C_IsEnabledHJAck
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_DMA_GetRegAddr
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
direction
)
¶
-
Get the data register address used for DMA transfer.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TDR TDB0 LL_I3C_DMA_GetRegAddr
TDWR TDWR LL_I3C_DMA_GetRegAddr
RDR RXRB0 LL_I3C_DMA_GetRegAddr
RDWR RDWR LL_I3C_DMA_GetRegAddr
SR SR LL_I3C_DMA_GetRegAddr
CR CR LL_I3C_DMA_GetRegAddr
- Parameters :
-
p_i3c – I3C Instance
direction – This parameter can be one of the following values:
- Return values :
-
Address – of data register
-
void
LL_I3C_EnableDMAReq_RX
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable DMA FIFO reception requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXDMAEN LL_I3C_EnableDMAReq_RX
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_RX
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable DMA FIFO reception requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXDMAEN LL_I3C_DisableDMAReq_RX
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_RX
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if DMA FIFO reception requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXDMAEN LL_I3C_IsEnabledDMAReq_RX
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetRxFIFOThreshold
(
I3C_TypeDef
*
p_i3c
,
uint32_t
rx_fifo_threshold
)
¶
-
Set the receive FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXTHRES LL_I3C_SetRxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
rx_fifo_threshold – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetRxFIFOThreshold
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the receive FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXTHRES LL_I3C_GetRxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_EnableDMAReq_TX
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable DMA FIFO transmission requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXDMAEN LL_I3C_EnableDMAReq_TX
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_TX
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable DMA FIFO transmission requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXDMAEN LL_I3C_DisableDMAReq_TX
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_TX
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if DMA FIFO transmission requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXDMAEN LL_I3C_IsEnabledDMAReq_TX
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetTxFIFOThreshold
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tx_fifo_threshold
)
¶
-
Set the transmit FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_SetTxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
tx_fifo_threshold – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetTxFIFOThreshold
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the transmit FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_GetTxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
State – of bit (1 or 0).
-
uint32_t
LL_I3C_GetCtrlFifo
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get controller FIFO configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_GetCtrlFifo
CFGR SMODE LL_I3C_GetCtrlFifo
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
One – of: LL_I3C_CTRL_FIFO_NONE LL_I3C_CTRL_FIFO_CONTROL_ONLY LL_I3C_CTRL_FIFO_STATUS_ONLY LL_I3C_CTRL_FIFO_ALL
-
void
LL_I3C_EnableDMAReq_Status
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable DMA FIFO status requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SDMAEN LL_I3C_EnableDMAReq_Status
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_Status
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable DMA FIFO status requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SDMAEN LL_I3C_DisableDMAReq_Status
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_Status
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if DMA FIFO status requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SDMAEN LL_I3C_IsEnabledDMAReq_Status
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ConfigCtrlFifo
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tx_fifo_threshold
,
uint32_t
rx_fifo_threshold
,
uint32_t
ctrl_fifo
)
¶
-
Configure the controller fifo.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_ConfigCtrlFifo
CFGR RXTHRES LL_I3C_ConfigCtrlFifo
CFGR TMODE LL_I3C_ConfigCtrlFifo
CFGR SMODE LL_I3C_ConfigCtrlFifo
Note
These bits can only be programmed when EN = 0.
- Parameters :
-
p_i3c – I3C Instance.
tx_fifo_threshold – One of LL_I3C_TXFIFO_THRESHOLD_1_8 or LL_I3C_TXFIFO_THRESHOLD_1_2.
rx_fifo_threshold – One of LL_I3C_RXFIFO_THRESHOLD_1_8 or LL_I3C_RXFIFO_THRESHOLD_1_2.
ctrl_fifo – One of LL_I3C_CTRL_FIFO_NONE, LL_I3C_CTRL_FIFO_CONTROL_ONLY, LL_I3C_CTRL_FIFO_STATUS_ONLY, LL_I3C_CTRL_FIFO_ALL.
-
void
LL_I3C_ConfigTgtFifo
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tx_fifo_threshold
,
uint32_t
rx_fifo_threshold
)
¶
-
Configure the target fifo.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_ConfigTgtFifo
CFGR RXTHRES LL_I3C_ConfigTgtFifo
Note
These bits can only be programmed when EN = 0.
- Parameters :
-
p_i3c – I3C Instance.
tx_fifo_threshold – One of LL_I3C_TXFIFO_THRESHOLD_1_8 or LL_I3C_TXFIFO_THRESHOLD_1_2.
rx_fifo_threshold – One of LL_I3C_RXFIFO_THRESHOLD_1_8 or LL_I3C_RXFIFO_THRESHOLD_1_2.
-
void
LL_I3C_EnableStatusFIFO
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable the status FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_EnableStatusFIFO
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_EnableStatusFIFO
Note
Not applicable in target mode. status FIFO always disabled in target mode.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStatusFIFO
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable the status FIFO threshold.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_DisableStatusFIFO
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStatusFIFO
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if the status FIFO threshold is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_IsEnabledStatusFIFO
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableControlFIFO
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable the control and transmit FIFO preloaded before starting a transfer on I3C bus.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_EnableControlFIFO
Note
Not applicable in target mode. control FIFO always disabled in target mode.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableControlFIFO
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable the control and transmit FIFO preloaded before starting a transfer on I3C bus.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_DisableControlFIFO
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledControlFIFO
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if the control and transmit FIFO preloaded is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_IsEnabledControlFIFO
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableDMAReq_Control
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable DMA FIFO control word transfer requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_EnableDMAReq_Control
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_Control
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable DMA FIFO control word transfer requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_DisableDMAReq_Control
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableAllDMARequests
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable all I3C DMA request sources (Control, RX, TX, Status) with a single register access.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_DisableAllDMARequests
CFGR RXDMAEN LL_I3C_DisableAllDMARequests
CFGR TXDMAEN LL_I3C_DisableAllDMARequests
CFGR SDMAEN LL_I3C_DisableAllDMARequests
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_Control
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if DMA FIFO control word transfer requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_IsEnabledDMAReq_Control
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableOwnDynAddress
(
I3C_TypeDef
*
p_i3c
)
¶
-
Set Own dynamic address as Valid.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DAVAL LL_I3C_EnableOwnDynAddress
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_SetAndEnableOwnDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
own_dynamic_address
)
¶
-
Configure Own dynamic address and set it valid in one operation.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DA,DAVAL LL_I3C_SetAndEnableOwnDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
own_dynamic_address – Value between 0 and 0x7F.
-
void
LL_I3C_DisableOwnDynAddress
(
I3C_TypeDef
*
p_i3c
)
¶
-
Set Own dynamic address as not-Valid.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DAVAL LL_I3C_DisableOwnDynAddress
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledOwnDynAddress
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if own dynamic address is valid or not valid.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DAVAL LL_I3C_IsEnabledOwnDynAddress
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetOwnDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
own_dynamic_address
)
¶
-
Configure Own dynamic address.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DA LL_I3C_SetOwnDynamicAddress
Note
This bit can be programmed in controller mode or during dynamic address procedure from current controller.
- Parameters :
-
p_i3c – I3C Instance.
own_dynamic_address – This parameter must be a value between Min_Data=0 and Max_Data=0x7F
-
uint8_t
LL_I3C_GetOwnDynamicAddress
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get Own dynamic address.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DA LL_I3C_GetOwnDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x7F
-
void
LL_I3C_EnableIBI
(
I3C_TypeDef
*
p_i3c
)
¶
-
Set IBI procedure allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 IBIEN LL_I3C_EnableIBI
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIBI
(
I3C_TypeDef
*
p_i3c
)
¶
-
Set IBI procedure not-allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 IBIEN LL_I3C_DisableIBI
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIBI
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if IBI procedure is allowed or not allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 IBIEN LL_I3C_IsEnabledIBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableControllerRoleReq
(
I3C_TypeDef
*
p_i3c
)
¶
-
Set controller-role request allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 CREN LL_I3C_EnableControllerRoleReq
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableControllerRoleReq
(
I3C_TypeDef
*
p_i3c
)
¶
-
Set controller-role request as not-allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 CREN LL_I3C_DisableControllerRoleReq
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledControllerRoleReq
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if controller-role request is allowed or not-allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 CREN LL_I3C_IsEnabledControllerRoleReq
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableHotJoin
(
I3C_TypeDef
*
p_i3c
)
¶
-
Set Hot-Join allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 HJEN LL_I3C_EnableHotJoin
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHotJoin
(
I3C_TypeDef
*
p_i3c
)
¶
-
Set Hot-Join as not-allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 HJEN LL_I3C_DisableHotJoin
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHotJoin
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if Hot-Join is allowed or not-allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 HJEN LL_I3C_IsEnabledHotJoin
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetMaxReadLength
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_read_length
)
¶
-
Configure maximum read length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR MRL LL_I3C_SetMaxReadLength
Note
Those bits can be updated by HW upon reception of GETMRL CCC.
- Parameters :
-
p_i3c – I3C Instance.
max_read_length – This parameter must be a value between Min_Data=0x0 and Max_Data=0xFFFF
-
uint32_t
LL_I3C_GetMaxReadLength
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Return maximum read length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR MRL LL_I3C_GetMaxReadLength
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0x0 and Max_Data=0xFFFFF
-
void
LL_I3C_ConfigNbIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
nb_ibi_add_data
)
¶
-
Configure the number of additional Mandatory data Byte (MDB) sent to the controller after an acknowledge of the IBI (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR IBIP LL_I3C_ConfigNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
nb_ibi_add_data – This parameter can be one of the following values:
LL_I3C_PAYLOAD_EMPTY << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_1_BYTE << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_2_BYTE << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_3_BYTE << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_4_BYTE << I3C_MAXRLR_IBIP_Pos
-
void
LL_I3C_SetNbIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
nb_ibi_add_data
)
¶
-
Set the number of additional Mandatory data Byte (MDB) sent to the controller after an acknowledge of the IBI (target mode). I3C_MAXRLR_IBIP must be at reset value. It means after a block reset of the I3C Instance.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR IBIP LL_I3C_SetNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
nb_ibi_add_data – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetConfigNbIBIAddData
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Return the number of additional Mandatory data Byte (MDB) sent to the controller after an acknowledge of the IBI (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR IBIP LL_I3C_GetConfigNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMaxWriteLength
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_write_length_byte
)
¶
-
Configure maximum write length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXWLR MWL LL_I3C_SetMaxWriteLength
Note
Those bits can be updated by HW upon reception of GETMWL CCC.
- Parameters :
-
p_i3c – I3C Instance.
max_write_length_byte – This parameter must be a value between Min_Data=0x0 and Max_Data=0xFFFF
-
uint32_t
LL_I3C_GetMaxWriteLength
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Return maximum write length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXWLR MWL LL_I3C_GetMaxWriteLength
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0x0 and Max_Data=0xFFFFF
-
void
LL_I3C_ConfigClockWaveForm
(
I3C_TypeDef
*
p_i3c
,
uint32_t
clock_wave_form
)
¶
-
Configure the SCL clock signal waveform.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 TIMINGR0 LL_I3C_ConfigClockWaveForm
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
clock_wave_form – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF.
-
uint32_t
LL_I3C_GetClockWaveForm
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the SCL clock signal waveform.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 TIMINGR0 LL_I3C_GetClockWaveForm
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFFFFFFFF.
-
void
LL_I3C_SetPeriodClockLowPP
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_low_pp
)
¶
-
Configure the SCL clock low period during I3C push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_PP LL_I3C_SetPeriodClockLowPP
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_low_pp – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockLowPP
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the SCL clock low period during I3C push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_PP LL_I3C_GetPeriodClockLowPP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPeriodClockHighI3C
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_high_i3c
)
¶
-
Configure the SCL clock High period during I3C open drain and push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I3C LL_I3C_SetPeriodClockHighI3C
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_high_i3c – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockHighI3C
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the SCL clock high period during I3C open drain and push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I3C LL_I3C_GetPeriodClockHighI3C
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPeriodClockLowOD
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_low_od
)
¶
-
Configure the SCL clock low period during I3C open drain phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_OD LL_I3C_SetPeriodClockLowOD
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_low_od – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockLowOD
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the SCL clock low period during I3C open phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_OD LL_I3C_GetPeriodClockLowOD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPeriodClockHighI2C
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_high_i2c
)
¶
-
Configure the SCL clock High period during I2C open drain phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I2C LL_I3C_SetPeriodClockHighI2C
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_high_i2c – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockHighI2C
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the SCL clock high period during I2C open drain phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I2C LL_I3C_GetPeriodClockHighI2C
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetDataHoldTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data_hold_time
)
¶
-
Configure the controller additional hold time on SDA line.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_SetDataHoldTime
- Parameters :
-
p_i3c – I3C Instance.
data_hold_time – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDataHoldTime
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the controller additional hold time on SDA line.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_GetDataHoldTime
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetAvalTiming
(
I3C_TypeDef
*
p_i3c
,
uint32_t
aval_timing
)
¶
-
Configure the Idle, Available state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 AVAL LL_I3C_SetAvalTiming
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
aval_timing – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetAvalTiming
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the Idle, Available integer value state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 AVAL LL_I3C_GetAvalTiming
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetFreeTiming
(
I3C_TypeDef
*
p_i3c
,
uint32_t
free_timing
)
¶
-
Configure the Free state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 FREE LL_I3C_SetFreeTiming
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
free_timing – This parameter must be a value between Min_Data=0 and Max_Data=0x3F.
-
uint32_t
LL_I3C_GetFreeTiming
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the free integer value state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 FREE LL_I3C_GetFreeTiming
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x3F.
-
void
LL_I3C_SetControllerActivityState
(
I3C_TypeDef
*
p_i3c
,
uint32_t
controller_activity_state
)
¶
-
Configure the activity state of the new controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 ASNCR LL_I3C_SetControllerActivityState
Note
Refer to MIPI I3C specification ( https:__www.mipi.org_specifications) for more details related to activity state.
- Parameters :
-
p_i3c – I3C Instance.
controller_activity_state – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetControllerActivityState
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the activity state of the new controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 ASNCR LL_I3C_GetControllerActivityState
Note
Refer to MIPI I3C specification ( https:__www.mipi.org_specifications) for more details related to activity state.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetBusCharacteristic
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_bus_characteristic
)
¶
-
Configure the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_SetBusCharacteristic
TIMINGR1 FREE LL_I3C_SetBusCharacteristic
TIMINGR1 ASNCR LL_I3C_SetBusCharacteristic
TIMINGR1 AVAL LL_I3C_SetBusCharacteristic
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_bus_characteristic – This parameter must be a value between Min_Data=0 and Max_Data=0x107F03FF.
-
uint32_t
LL_I3C_GetBusCharacteristic
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_GetBusCharacteristic
TIMINGR1 FREE LL_I3C_GetBusCharacteristic
TIMINGR1 ASNCR LL_I3C_GetBusCharacteristic
TIMINGR1 AVAL LL_I3C_GetBusCharacteristic
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x107F03FF.
-
void
LL_I3C_SetCtrlBusCharacteristic
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_bus_characteristic
)
¶
-
Configure the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_SetCtrlBusCharacteristic
TIMINGR1 FREE LL_I3C_SetCtrlBusCharacteristic
TIMINGR1 ASNCR LL_I3C_SetCtrlBusCharacteristic
TIMINGR1 IDLE LL_I3C_SetCtrlBusCharacteristic
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_bus_characteristic – This parameter must be a value between Min_Data=0 and Max_Data=0x107F03FF.
-
uint32_t
LL_I3C_GetCtrlBusCharacteristic
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_GetCtrlBusCharacteristic
TIMINGR1 FREE LL_I3C_GetCtrlBusCharacteristic
TIMINGR1 ASNCR LL_I3C_GetCtrlBusCharacteristic
TIMINGR1 IDLE LL_I3C_GetCtrlBusCharacteristic
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x107F03FF.
-
void
LL_I3C_SetTgtBusCharacteristic
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tgt_bus_characteristic
)
¶
-
Configure the target available state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 IDLE LL_I3C_SetTgtBusCharacteristic
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
tgt_bus_characteristic – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetTgtBusCharacteristic
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the target available state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 IDLE LL_I3C_GetTgtBusCharacteristic
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_ConfigStallTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
stall_time_cycle
,
uint32_t
stall_features
)
¶
-
Set the SCL clock stalling configuration. All stall features not selected are disabled.
Note
This configuration can be set when the I3C is acting as controller.
- Parameters :
-
hi3c – Pointer to a hal_i3c_handle_t
stall_time_cycle – Controller clock stall time in number of kernel clock cycles. This parameter must be a number between Min_Data=0x00 and Max_Data=0xFF.
stall_features – Features of the I3C controller to which the stall time will be applied. See Stall feature definition, this parameter is a combination of the following values: LL_I3C_CTRL_STALL_ACK LL_I3C_CTRL_STALL_CCC LL_I3C_CTRL_STALL_TX LL_I3C_CTRL_STALL_RX LL_I3C_CTRL_STALL_I2C_ACK LL_I3C_CTRL_STALL_I2C_TX LL_I3C_CTRL_STALL_I2C_RX LL_I3C_CTRL_STALL_ALL LL_I3C_CTRL_STALL_NONE
-
void
LL_I3C_SetStallTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_stall_time
)
¶
-
Configure the SCL clock stalling time on I3C Bus (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALL LL_I3C_SetStallTime
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_stall_time – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetStallTime
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the SCL clock stalling time on I3C Bus (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALL LL_I3C_GetStallTime
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_EnableStallACKI2CAddr
(
I3C_TypeDef
*
p_i3c
)
¶
-
Set stall on data ACK/NACK bit of legacy I2C address (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLL LL_I3C_EnableStallACKI2CAddr
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACKI2CAddr
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable stall on data ACK/NACK bit of legacy I2C address (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_DisableStallACKI2CAddr
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACKI2CAddr
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if stall on data ACK/NACK bit of legacy I2C address is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_IsEnabledStallACKI2CAddr
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallACKI2CWrite
(
I3C_TypeDef
*
p_i3c
)
¶
-
Set stall on data ACK/NACK bit of legacy I2C write message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLS LL_I3C_EnableStallACKI2CWrite
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACKI2CWrite
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable stall on data ACK/NACK bit of legacy I2C write message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLS LL_I3C_DisableStallACKI2CWrite
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACKI2CWrite
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if stall on data ACK/NACK bit of legacy I2C write message is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLS LL_I3C_IsEnabledStallACKI2CWrite
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallACKI2CRead
(
I3C_TypeDef
*
p_i3c
)
¶
-
Set stall on data ACK/NACK bit of legacy I2C read message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLR LL_I3C_EnableStallACKI2CRead
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACKI2CRead
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable stall on data ACK/NACK bit of legacy I2C read message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLR LL_I3C_DisableStallACKI2CRead
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACKI2CRead
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if stall on data ACK/NACK bit of legacy I2C read message is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLR LL_I3C_IsEnabledStallACKI2CRead
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallACK
(
I3C_TypeDef
*
p_i3c
)
¶
-
Set stall on ACK bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_EnableStallACK
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACK
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable stall on ACK bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_DisableStallACK
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACK
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if stall on ACK bit is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_IsEnabledStallACK
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallParityCCC
(
I3C_TypeDef
*
p_i3c
)
¶
-
Set stall on Parity bit of command Code byte (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLC LL_I3C_EnableStallParityCCC
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallParityCCC
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable stall on Parity bit of command Code byte (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLC LL_I3C_DisableStallParityCCC
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallParityCCC
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if stall on Parity bit of command Code byte is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLC LL_I3C_IsEnabledStallParityCCC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallParityData
(
I3C_TypeDef
*
p_i3c
)
¶
-
Set stall on Parity bit of data bytes (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLD LL_I3C_EnableStallParityData
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallParityData
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable stall on Parity bit of data bytes (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLD LL_I3C_DisableStallParityData
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallParityData
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if stall on Parity bit of data bytes is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLD LL_I3C_IsEnabledStallParityData
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallTbit
(
I3C_TypeDef
*
p_i3c
)
¶
-
Set stall on T bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLT LL_I3C_EnableStallTbit
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallTbit
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable stall on T bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLT LL_I3C_DisableStallTbit
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallTbit
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if stall on T bit is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLT LL_I3C_IsEnabledStallTbit
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ConfigPayloadEntDAA
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_data_speed_limitation
,
uint32_t
ibi_payload
,
uint32_t
ctrl_role
)
¶
-
Set control capability, IBI payload support and max speed limitation in BCR register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR LL_I3C_ConfigPayloadEntDAA
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
max_data_speed_limitation – This parameter can be one of the following values:
ibi_payload – This parameter can be one of the following values:
ctrl_role – This parameter can be one of the following values:
-
void
LL_I3C_SetDeviceCapabilityOnBus
(
I3C_TypeDef
*
p_i3c
,
uint32_t
device_capability_on_bus
)
¶
-
Configure the device capability on bus as target or controller (MIPI Bus Characteristics Register BCR6).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR6 LL_I3C_SetDeviceCapabilityOnBus
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
device_capability_on_bus – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDeviceCapabilityOnBus
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the device capability on bus as target or controller (MIPI Bus Characteristics Register BCR6).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR6 LL_I3C_GetDeviceCapabilityOnBus
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetDeviceIBIPayload
(
I3C_TypeDef
*
p_i3c
,
uint32_t
device_ibi_payload
)
¶
-
Configure the device IBI payload (MIPI Bus Characteristics Register BCR2).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR2 LL_I3C_SetDeviceIBIPayload
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
device_ibi_payload – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDeviceIBIPayload
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the device IBI payload (MIPI Bus Characteristics Register BCR2).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR2 LL_I3C_GetDeviceIBIPayload
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetDataSpeedLimitation
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data_speed_limitation
)
¶
-
Configure the data Speed Limitation (limitation, as described by I3C_GETMXDSR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR0 LL_I3C_SetDataSpeedLimitation
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
data_speed_limitation – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDataSpeedLimitation
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the data Speed Limitation (limitation, as described by I3C_GETMXDSR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR0 LL_I3C_GetDataSpeedLimitation
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetDeviceCharacteristics
(
I3C_TypeDef
*
p_i3c
,
uint32_t
device_characteristics
)
¶
-
Configure the device Characteristics Register (DCR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DCR DC LL_I3C_SetDeviceCharacteristics
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
Refer MIPI web site for the list of device code available.
- Parameters :
-
p_i3c – I3C Instance.
device_characteristics – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetDeviceCharacteristics
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the device Characteristics Register (DCR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DCR DCR LL_I3C_GetDeviceCharacteristics
Note
Refer MIPI web site to associated value with the list of device code available.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPendingReadMDB
(
I3C_TypeDef
*
p_i3c
,
uint32_t
pending_read_mdb
)
¶
-
Configure IBI MDB support for pending read notification.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETCAPR CAPPEND LL_I3C_SetPendingReadMDB
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
pending_read_mdb – This parameter can be one of the following values:
-
void
LL_I3C_EnablePendingReadMDB
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable IBI MDB support for pending read notification.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETCAPR CAPPEND LL_I3C_EnablePendingReadMDB
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_GetPendingReadMDB
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get IBI MDB support for pending read notification value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETCAPR CAPPEND LL_I3C_GetPendingReadMDB
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetGrpAddrHandoffSupport
(
I3C_TypeDef
*
p_i3c
,
uint32_t
grp_addr_handoff_support
)
¶
-
Configure the Group Management Support bit of MSTCAP1.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPGRP LL_I3C_SetGrpAddrHandoffSupport
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
grp_addr_handoff_support – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetGrpAddrHandoffSupport
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the Group Management Support bit of MSTCAP1.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPGRP LL_I3C_GetGrpAddrHandoffSupport
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetControllerHandoffDelayed
(
I3C_TypeDef
*
p_i3c
,
uint32_t
controller_handoff_delayed
)
¶
-
Configure the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_SetControllerHandoffDelayed
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
controller_handoff_delayed – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetControllerHandoffDelayed
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_GetControllerHandoffDelayed
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_EnableHandOffDelay
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_EnableHandOffDelay
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHandOffDelay
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_DisableHandOffDelay
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHandOffDelay
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates if the Delayed controller Handoff bit in MSTCAP2 is enabled. RESET: IBI not Acknowledged. SET: IBI Acknowledged.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_IsEnabledHandOffDelay
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetConfigGETMXDS
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_handoff_activity
,
uint32_t
getmxds_format
,
uint32_t
data_turnaround_duration
,
uint32_t
max_read_turnaround
)
¶
-
Configure GETMXDS response fields.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR HOFFAS,FMT,TSCO,RDTURN LL_I3C_SetConfigGETMXDS
Note
Programmable only when EN = 0.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_handoff_activity – One of LL_I3C_HANDOFF_ACTIVITY_STATE_0..3 (HOFFAS bits).
getmxds_format – One of LL_I3C_GETMXDS_FORMAT_1 / _2_LSB / _2_MID / _2_MSB (FMT bits).
data_turnaround_duration – One of LL_I3C_TURNAROUND_TIME_TSCO_LESS_12NS or LL_I3C_TURNAROUND_TIME_TSCO_GREATER_12NS (TSCO bit).
max_read_turnaround – Value 0..0xF placed in RDTURN[3:0] (only used for format 2 variants).
-
void
LL_I3C_SetHandoffActivityState
(
I3C_TypeDef
*
p_i3c
,
uint32_t
handoff_activity_state
)
¶
-
Configure the activity state after controllership handoff.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR HOFFAS LL_I3C_SetHandoffActivityState
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
handoff_activity_state – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetHandoffActivityState
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the activity state after controllership handoff.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR HOFFAS LL_I3C_GetHandoffActivityState
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMaxDataSpeedFormat
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_data_speed_format
)
¶
-
Configure the max data speed format response for GETMXDS CCC.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR FMT LL_I3C_SetMaxDataSpeedFormat
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
max_data_speed_format – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetMaxDataSpeedFormat
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the max data Speed format response for GETMXDS CCC.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR FMT LL_I3C_GetMaxDataSpeedFormat
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMiddleByteTurnAround
(
I3C_TypeDef
*
p_i3c
,
uint32_t
middle_byte_turn_around
)
¶
-
Configure the middle byte of MaxRdTurn field of GETMXDS CCC format 2 with turnaround.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR RDTURN LL_I3C_SetMiddleByteTurnAround
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
middle_byte_turn_around – This parameter must be a value between Min_Data=0 and Max_Data=0xF.
-
uint32_t
LL_I3C_GetMiddleByteTurnAround
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the value of middle byte of MaxRdTurn field of GETMXDS CCC format 2 with turnaround.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR RDTURN LL_I3C_GetMiddleByteTurnAround
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xF.
-
void
LL_I3C_SetDataTurnAroundTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data_turn_around_time
)
¶
-
Configure clock-to-data turnaround time.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR TSCO LL_I3C_SetDataTurnAroundTime
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
data_turn_around_time – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDataTurnAroundTime
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get clock-to-data turnaround time.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR TSCO LL_I3C_GetDataTurnAroundTime
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMIPIInstanceID
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mipi_instance_id
)
¶
-
Configure the MIPI Instance ID.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR MIPIID LL_I3C_SetMIPIInstanceID
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
mipi_instance_id – This parameter must be a value between Min_Data=0 and Max_Data=0xF.
-
uint32_t
LL_I3C_GetMIPIInstanceID
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the MIPI Instance ID.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR MIPIID LL_I3C_GetMIPIInstanceID
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xF.
-
uint32_t
LL_I3C_GetIDTypeSelector
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the ID type selector.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR IDTSEL LL_I3C_GetIDTypeSelector
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0x0 and Max_Data=0x1
-
uint32_t
LL_I3C_GetMIPIManufacturerID
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the MIPI Manufacturer ID.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR MIPIMID LL_I3C_GetMIPIManufacturerID
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x7FFF.
Functions
-
void
LL_I3C_RequestRxFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
¶
-
Request a reception data FIFO flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXFLUSH LL_I3C_RequestRxFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_RequestTxFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
¶
-
Request a transmission data FIFO Flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXFLUSH LL_I3C_RequestTxFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_RequestStatusFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
¶
-
Request a status data FIFO Flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SFLUSH LL_I3C_RequestStatusFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_SetEndOfFrameMode
(
I3C_TypeDef
*
p_i3c
,
uint32_t
eof_frame_config
)
¶
-
Set End of Frame mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR FCFDIS LL_I3C_SetEndOfFrameMode
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
eof_frame_config – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetEndOfFrameMode
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get End of Frame mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR FCFDIS LL_I3C_GetEndOfFrameMode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetActivityState
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get activity state of controller on the I3C Bus (target only).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 AS LL_I3C_GetActivityState
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetResetAction
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get reset action (target only).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 RSTACT LL_I3C_GetResetAction
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_RequestControlFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
¶
-
Request a control word FIFO Flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CFLUSH LL_I3C_RequestControlFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_RequestFifosFlush
(
I3C_TypeDef
*
p_i3c
,
uint32_t
flush_mask
)
¶
-
Request a combined flush of selected FIFOs (TX / RX / Status / Control).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXFLUSH LL_I3C_RequestFifosFlush
CFGR RXFLUSH LL_I3C_RequestFifosFlush
CFGR SFLUSH LL_I3C_RequestFifosFlush
CFGR CFLUSH LL_I3C_RequestFifosFlush
Note
Each bit is auto cleared by hardware after the flush completes.
- Parameters :
-
p_i3c – I3C instance.
flush_mask – this parameter is a combination of the following values: I3C_CFGR_TXFLUSH (TX FIFO) I3C_CFGR_RXFLUSH (RX FIFO) I3C_CFGR_SFLUSH (Status FIFO) I3C_CFGR_CFLUSH (Control FIFO)
-
void
LL_I3C_RequestTransfer
(
I3C_TypeDef
*
p_i3c
)
¶
-
Request a Transfer start.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TSFSET LL_I3C_RequestTransfer
Note
After request, the current instruction in control Register is executed on I3C Bus.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ControllerHandleMessage
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tgt_addr
,
uint32_t
xfer_size
,
uint32_t
direction
,
uint32_t
msg_type
,
uint32_t
end_mode
)
¶
-
Handles I3C message content on the I3C Bus as controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR ADD LL_I3C_ControllerHandleMessage
CR DCNT LL_I3C_ControllerHandleMessage
CR RNW LL_I3C_ControllerHandleMessage
CR MTYPE LL_I3C_ControllerHandleMessage
CR MEND LL_I3C_ControllerHandleMessage
- Parameters :
-
p_i3c – I3C Instance.
tgt_addr – Specifies the target address to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
xfer_size – Specifies the number of bytes to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=65535.
direction – This parameter can be one of the following values:
msg_type – This parameter can be one of the following values:
end_mode – This parameter can be one of the following values:
-
void
LL_I3C_ControllerHeaderStop
(
I3C_TypeDef
*
p_i3c
)
¶
-
Issue a header message followed by STOP (no data, no address field).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR MTYPE LL_I3C_ControllerHeaderStop
CR MEND LL_I3C_ControllerHeaderStop
Note
Only header (7’h7E arbitration) then STOP. Use when control FIFO disabled and a pure header cycle is required (e.g. bus idle insertion).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ControllerReleaseStop
(
I3C_TypeDef
*
p_i3c
)
¶
-
Issue a RELEASE message followed by STOP (no data, no address field).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR MTYPE LL_I3C_ControllerReleaseStop
CR MEND LL_I3C_ControllerReleaseStop
Note
RELEASE stops SCL until next instruction; then STOP is generated.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ControllerHandleCCC
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ccc_value
,
uint32_t
add_byte_size
,
uint32_t
end_mode
)
¶
-
Handles I3C Common command Code content on the I3C Bus as controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CCC LL_I3C_ControllerHandleCCC
CR DCNT LL_I3C_ControllerHandleCCC
CR MTYPE LL_I3C_ControllerHandleCCC
CR MEND LL_I3C_ControllerHandleCCC
- Parameters :
-
p_i3c – I3C Instance.
ccc_value – Specifies the command Code to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=0x1FF.
add_byte_size – Specifies the number of CCC additional bytes to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=65535.
end_mode – This parameter can be one of the following values:
-
void
LL_I3C_TargetHandleMessage
(
I3C_TypeDef
*
p_i3c
,
uint32_t
msg_type
,
uint32_t
ibi_size_byte
)
¶
-
Handles I3C message content on the I3C Bus as target.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR MTYPE LL_I3C_TargetHandleMessage
CR DCNT LL_I3C_TargetHandleMessage
- Parameters :
-
p_i3c – I3C Instance.
msg_type – This parameter can be one of the following values:
ibi_size_byte – Specifies the number of IBI bytes. This parameter must be a value between Min_Data=0 and Max_Data=65535.
Functions
-
uint8_t
LL_I3C_ReceiveData8
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Read receive data byte register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RDR RDB0 LL_I3C_ReceiveData8
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFF
-
void
LL_I3C_TransmitData8
(
I3C_TypeDef
*
p_i3c
,
uint8_t
data
)
¶
-
Write in transmit data byte Register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TDR TDB0 LL_I3C_TransmitData8
- Parameters :
-
p_i3c – I3C Instance.
data – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_ReceiveData32
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Read receive data word register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RDWR RDWR LL_I3C_ReceiveData32
Note
Content of register is filled in Little Endian. The MSB corresponds to the last data byte received, LSB corresponds to first data byte received.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFFFFFF
-
void
LL_I3C_TransmitData32
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data
)
¶
-
Write in transmit data word register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TDWR TDWR LL_I3C_TransmitData32
Note
Content of register is filled in Little Endian. The MSB corresponds to the last data byte transmitted, LSB corresponds to first data byte transmitted.
- Parameters :
-
p_i3c – I3C Instance.
data – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF.
-
void
LL_I3C_WriteControlWord
(
I3C_TypeDef
*
p_i3c
,
uint32_t
control_word
)
¶
-
Write a single control word to CR.
- Reference Manual to LL API cross reference (Register Field Functions) CR LL_I3C_WriteControlWord
-
Note
Use when control FIFO (TMODE) is disabled and one instruction must be issued.
- Parameters :
-
p_i3c – I3C Instance.
control_word – 32-bit control word (ADD/DCNT/RNW/MTYPE/MEND bits as needed).
-
void
LL_I3C_SetIBIPayload
(
I3C_TypeDef
*
p_i3c
,
uint32_t
own_ibi_payload
)
¶
-
Configure the IBI data payload to be sent during IBI (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
IBIDR IBIDR LL_I3C_SetIBIPayload
Note
Content of register is filled in Little Endian. Mean MSB corresponds to last IBI data byte, LSB corresponds to first IBI data byte.
- Parameters :
-
p_i3c – I3C Instance.
own_ibi_payload – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF
-
uint32_t
LL_I3C_GetIBIPayload
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the own IBI data payload (target mode), or get the target IBI received (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
IBIDR IBIDR LL_I3C_GetIBIPayload
Note
Content of register is filled in Little Endian. Mean MSB corresponds to last IBI data byte, LSB corresponds to first IBI data byte.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFFFFFF
-
uint32_t
LL_I3C_GetNbIBIAddData
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the number of data bytes received when reading IBI data (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
RMR IBIRDCNT LL_I3C_GetNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0x7
-
uint32_t
LL_I3C_GetIBITargetAddr
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the target address received during accepted IBI or controller-role request.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RMR RADD LL_I3C_GetIBITargetAddr
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0x3F
-
void
LL_I3C_ConfigTxPreload
(
I3C_TypeDef
*
p_i3c
,
uint16_t
tx_data_count
)
¶
-
Set TX FIFO Preload (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TGTTDR PRELOAD LL_I3C_ConfigTxPreload
TGTTDR TDCNT LL_I3C_ConfigTxPreload
Note
Set high by Software, cleared by hardware when all the bytes to transmit have been loaded to TX FIFO.
- Parameters :
-
p_i3c – I3C Instance.
tx_data_count – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFF
-
uint32_t
LL_I3C_IsActiveTxPreload
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of TX FIFO preload (target mode). RESET: no preload of TX FIFO. SET: preload of TX FIFO ongoing.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TGTTDR PRELOAD LL_I3C_IsActiveTxPreload
Note
Set high by Software, cleared by hardware when all the bytes to transmit have been loaded to TX FIFO.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint16_t
LL_I3C_GetTxPreloadDataCount
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the number of bytes to transmit (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TGTTDR TDCNT LL_I3C_GetTxPreloadDataCount
Note
The return value corresponds to the remaining number of bytes to load in TX FIFO.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFF
-
uint32_t
LL_I3C_GetXferDataCount
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get the number of data during a transfer.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR XDCNT LL_I3C_GetXferDataCount
Note
The return value corresponds to number of transmitted bytes reported during Address Assignment process in target mode. The return value corresponds to number of target detected during address Assignment process in controller mode. The return value corresponds to number of data bytes read from or sent to the I3C bus during the message link to MID current value.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFF
-
uint32_t
LL_I3C_IsTargetAbortPrivateRead
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates if a target abort a private read command.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR ABT LL_I3C_IsTargetAbortPrivateRead
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_GetMessageDirection
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get direction of the message.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR DIR LL_I3C_GetMessageDirection
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetMessageIdentifier
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get message identifier.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR MID LL_I3C_GetMessageIdentifier
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFF, representing the internal hardware counter value.
-
uint32_t
LL_I3C_GetMessageErrorCode
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get message error code.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER CODERR LL_I3C_GetMessageErrorCode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetReceiveCommandCode
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Get CCC code of received command.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RMR RCODE LL_I3C_GetReceiveCommandCode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFF.
Functions
-
void
LL_I3C_SetTargetDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
,
uint32_t
dynamic_addr
)
¶
-
Set dynamic address assigned to target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_SetTargetDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
dynamic_addr – Value between Min_Data=0 to Max_Data=0x7F
-
uint32_t
LL_I3C_GetTargetDynamicAddress
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
¶
-
Get dynamic address assigned to target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_GetTargetDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
Value – between Min_Data=0 to Max_Data=0x7F
-
void
LL_I3C_EnableTargetIBIAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
¶
-
Enable IBI acknowledgement from target x(controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIACK LL_I3C_EnableTargetIBIAck
Note
The bit DIS is automatically set when CRACK or IBIACK are set. This means DEVRX register access is not allowed. Reset CRACK and IBIACK will reset DIS bit.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableTargetIBIAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
¶
-
Disable IBI acknowledgement from target x (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIACK LL_I3C_DisableTargetIBIAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsEnabledTargetIBIAck
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
¶
-
Indicates if IBI from target x will be Acknowledged or not Acknowledged (controller mode). RESET: IBI not Acknowledged. SET: IBI Acknowledged.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIACK LL_I3C_IsEnabledTargetIBIAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableTargetCRAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
¶
-
Enable controller-role request acknowledgement from target x(controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX CRACK LL_I3C_EnableTargetCRAck
Note
The bit DIS is automatically set when CRACK or IBIACK are set. This means DEVRX register access is not allowed. Reset CRACK and IBIACK will reset DIS bit.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableTargetCRAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
¶
-
Disable controller-role request acknowledgement from target x (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX CRACK LL_I3C_DisableTargetCRAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsEnabledTargetCRAck
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
¶
-
Indicates if controller-role request from target x will be Acknowledged or not Acknowledged (controller mode). RESET: controller-role request not Acknowledged. SET: controller-role request Acknowledged.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX CRACK LL_I3C_IsEnabledTargetCRAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
¶
-
Enable additional Mandatory data Byte (MDB) follows the accepted IBI from target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIDEN LL_I3C_EnableIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
¶
-
Disable additional Mandatory data Byte (MDB) follows the accepted IBI from target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIDEN LL_I3C_DisableIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsEnabledIBIAddData
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
¶
-
Indicates if additional Mandatory data Byte (MDB) follows the accepted IBI from target x. RESET: no Mandatory data Byte follows IBI. SET: mandatory data Byte follows IBI.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIDEN LL_I3C_IsEnabledIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableFrameSuspend
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
¶
-
Enable Suspension of Current transfer during IBI treatment.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX SUSP LL_I3C_EnableFrameSuspend
Note
When set, this feature will allow controller to send a stop condition and CR FIFO is flushed after IBI treatment. Software has to rewrite instructions in control Register to start a new transfer.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableFrameSuspend
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
¶
-
Disable Suspension of Current transfer during IBI treatment.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX SUSP LL_I3C_DisableFrameSuspend
Note
When set, this feature will allow controller to continue CR FIFO treatment after IBI treatment.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsFrameMustBeSuspended
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
¶
-
Indicates if I3C transfer must be Suspended or not Suspended during IBI treatment from target x. RESET: transfer is not suspended. Instruction in CR FIFO are executed after IBI. SET: transfer is suspended (a stop condition is sent). CR FIFO is flushed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX SUSP LL_I3C_IsFrameMustBeSuspended
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsAllowedPayloadUpdate
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
¶
-
Indicates if update of the device Characteristics Register is Allowed or not Allowed. RESET: device Characteristics Register update is not Allowed. SET: device Characteristics Register update is Allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DIS LL_I3C_IsAllowedPayloadUpdate
Note
Used to prevent software writing during reception of an IBI or controller-role request from target x.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ConfigDeviceCapabilities
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
,
uint32_t
dynamic_addr
,
uint32_t
IBIAck
,
uint32_t
IBIAddData
,
uint32_t
CRAck
)
¶
-
Set I3C bus devices configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_ConfigDeviceCapabilities
DEVRX IBIACK LL_I3C_ConfigDeviceCapabilities
DEVRX IBIDEN LL_I3C_ConfigDeviceCapabilities
DEVRX CRACK LL_I3C_ConfigDeviceCapabilities
Note
This function is called only when the I3C instance is initialized as controller. This function can be called by the controller application to help the automatic treatment when target have capability of IBI and/or control-Role.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
dynamic_addr – Value between Min_Data=0 to Max_Data=0x7F
IBIAck – Value This parameter can be one of the following values:
IBIAddData – This parameter can be one of the following values:
CRAck – This parameter can be one of the following values:
-
void
LL_I3C_SetDevrx
(
I3C_TypeDef
*
p_i3c
,
uint32_t
devrx_index
,
uint32_t
dynamic_addr
,
uint32_t
IBIAck
,
uint32_t
Susp
,
uint32_t
IBIAddData
,
uint32_t
CRAck
)
¶
-
Set DEVRx.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_SetDevrx
DEVRX IBIACK LL_I3C_SetDevrx
DEVRX IBIDEN LL_I3C_SetDevrx
DEVRX SUSP LL_I3C_SetDevrx
DEVRX CRACK LL_I3C_SetDevrx
Note
This function is called only when the I3C instance is initialized as controller. This function can be called by the controller application to help the automatic treatment when target have capability of IBI and/or control-Role.
- Parameters :
-
p_i3c – I3C Instance.
devrx_index – This parameter must be a value between Min_Data=0 and Max_Data=4
dynamic_addr – Value between Min_Data=0 to Max_Data=0x7F
IBIAck – Value This parameter can be one of the following values:
Susp – This parameter can be one of the following values:
IBIAddData – This parameter can be one of the following values:
CRAck – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDevrx
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
devrx_index
)
¶
-
Get DEVRx raw register value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_GetDevrx
DEVRX IBIACK LL_I3C_GetDevrx
DEVRX IBIDEN LL_I3C_GetDevrx
DEVRX SUSP LL_I3C_GetDevrx
DEVRX CRACK LL_I3C_GetDevrx
- Parameters :
-
p_i3c – I3C Instance.
devrx_index – This parameter must be a value between Min_Data=0 and Max_Data=4
- Return values :
-
Raw – 32-bit value of DEVRX[devrx_index].
Functions
-
uint32_t
LL_I3C_IsActiveFlag
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
flags
)
¶
-
Check if one of the flags is active.
- Reference Manual to LL API cross reference (Register Field Functions) EVR LL_I3C_IsActiveFlag
-
- Parameters :
-
p_i3c – I3C Instance.
flags – I3C_LL_EC_GET_FLAG.
- Return values :
-
0 – no flag is set
1 – at least one of the flags is set
-
uint32_t
LL_I3C_IsActiveFlag_CFE
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of control FIFO empty flag. RESET: one or more data are available in control FIFO. SET: no more data available in control FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR CFEF LL_I3C_IsActiveFlag_CFE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_TXFE
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of transmit FIFO empty flag. RESET: one or more data are available in transmit FIFO. SET: no more data available in transmit FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR TXFEF LL_I3C_IsActiveFlag_TXFE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of control FIFO not full flag. RESET: one or more free space available in control FIFO. SET: no more free space available in control FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR CFNFF LL_I3C_IsActiveFlag_CFNF
Note
When a transfer is ongoing, the control FIFO must not be written unless this flag is set.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_SFNE
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of status FIFO not empty flag. RESET: one or more free space available in status FIFO. SET: no more free space available in status FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR SFNEF LL_I3C_IsActiveFlag_SFNE
Note
This flag is updated only when the FIFO is used, mean SMODE = 1.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_TXFNF
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of transmit FIFO not full flag. RESET: one or more free space available in transmit FIFO. SET: no more free space available in transmit FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR TXFNFF LL_I3C_IsActiveFlag_TXFNF
Note
When a transfer is ongoing, the transmit FIFO must not be written unless this flag is set.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RXFNE
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of receive FIFO not full flag. RESET: one or more data are available in receive FIFO. SET: no more data available in receive FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RXFNEF LL_I3C_IsActiveFlag_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RXLAST
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates that the last receive byte is available. RESET: clear default value. SET: last receive byte ready to read from receive FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RXLASTF LL_I3C_IsActiveFlag_RXLAST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_TXLAST
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates that the last transmit byte is written in FIFO. RESET: transmission is not finalized. SET: last transmit byte is written in transmit FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR TXLASTF LL_I3C_IsActiveFlag_TXLAST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_FC
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of Frame Complete flag (controller and target mode). RESET: current Frame transfer is not finalized. SET: current Frame transfer is completed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR FCF LL_I3C_IsActiveFlag_FC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RXTGTEND
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of reception target end flag (controller mode). RESET: clear default value. SET: target prematurely ended a read command.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RXTGTENDF LL_I3C_IsActiveFlag_RXTGTEND
Note
This flag is set only when status FIFO is not used, mean SMODE = 0.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_ERR
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of error flag (controller and target mode). RESET: clear default value. SET: One or more Errors are detected.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR ERRF LL_I3C_IsActiveFlag_ERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_IBI
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of IBI flag (controller mode). RESET: clear default value. SET: An IBI has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR IBIF LL_I3C_IsActiveFlag_IBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_IBIEND
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of IBI end flag (target mode). RESET: clear default value. SET: IBI procedure is finished.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR IBIENDF LL_I3C_IsActiveFlag_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_CR
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of controller-role request flag (controller mode). RESET: clear default value. SET: a controller-role request procedure has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR CRF LL_I3C_IsActiveFlag_CR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_CRUPD
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of controller-role request update flag (target mode). RESET: clear default value. SET: I3C device has gained controller-role of the I3C Bus.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR BCUPDF LL_I3C_IsActiveFlag_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_HJ
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of Hot-Join flag (controller mode). RESET: clear default value. SET: a Hot-Join request has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR HJF LL_I3C_IsActiveFlag_HJ
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_WKP
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of wakeup flag (target mode). RESET: clear default value. SET: I3C Internal clock not available on time to treat the falling edge on SCL.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR WKPF LL_I3C_IsActiveFlag_WKP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_GET
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of get flag (target mode). RESET: clear default value. SET: a “get” type CCC has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR GETF LL_I3C_IsActiveFlag_GET
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_STA
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of get status flag (target mode). RESET: clear default value. SET: a GETSTATUS command has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR STAF LL_I3C_IsActiveFlag_STA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DAUPD
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of dynamic address update flag (target mode). RESET: clear default value. SET: own dynamic address has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR DAUPDF LL_I3C_IsActiveFlag_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_MWLUPD
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of max write length flag (target mode). RESET: clear default value. SET: max write length has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR MWLUPDF LL_I3C_IsActiveFlag_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_MRLUPD
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of max read length flag (target mode). RESET: clear default value. SET: max read length has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR MRLUPDF LL_I3C_IsActiveFlag_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RST
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of reset flag (target mode). RESET: clear default value. SET: a reset pattern has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RSTF LL_I3C_IsActiveFlag_RST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_ASUPD
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of active state flag (target mode). RESET: clear default value. SET: the activity state has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR ASUPDF LL_I3C_IsActiveFlag_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_INTUPD
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of interrupt update flag (target mode). RESET: clear default value. SET: One or more authorized interrupts have been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR INTUPDF LL_I3C_IsActiveFlag_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DEF
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of define list targets flag (target mode). RESET: clear default value. SET: a define list targets command has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR DEFF LL_I3C_IsActiveFlag_DEF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_GRP
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of define list Group addresses flag. RESET: clear default value. SET: define list Group addresses have been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR GRPF LL_I3C_IsActiveFlag_GRP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_PERR
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of Protocol error flag. RESET: clear default value. SET: protocol error detected.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER PERR LL_I3C_IsActiveFlag_PERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_STALL
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of SCL Stall error flag (target mode). RESET: clear default value. SET: target detected that SCL was stable for more than 125us during I3C SDR read.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER STALL LL_I3C_IsActiveFlag_STALL
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DOVR
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of RX or TX FIFO Overrun flag. RESET: clear default value. SET: RX FIFO full or TX FIFO empty depending of direction of message.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER DOVR LL_I3C_IsActiveFlag_DOVR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_COVR
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of control or status FIFO Overrun flag (controller mode). RESET: clear default value. SET: status FIFO full or control FIFO empty after Restart.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER COVR LL_I3C_IsActiveFlag_COVR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_ANACK
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of address not acknowledged flag (controller mode). RESET: clear default value. SET: controller detected that target NACKed static or dynamic address.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER ANACK LL_I3C_IsActiveFlag_ANACK
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DNACK
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of data not acknowledged flag (controller mode). RESET: clear default value. SET: controller detected that target NACKed data byte.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER DNACK LL_I3C_IsActiveFlag_DNACK
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DERR
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of data error flag (controller mode). RESET: clear default value. SET: controller detected data error during controller-role handoff process.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER DERR LL_I3C_IsActiveFlag_DERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ClearFlag_FC
(
I3C_TypeDef
*
p_i3c
)
¶
-
Clear Frame Complete flag (controller and target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CFCF LL_I3C_ClearFlag_FC
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_RXTGTEND
(
I3C_TypeDef
*
p_i3c
)
¶
-
Clear reception target end flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CRXTGTENDF LL_I3C_ClearFlag_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_ERR
(
I3C_TypeDef
*
p_i3c
)
¶
-
Clear error flag (controller and target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CERRF LL_I3C_ClearFlag_ERR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_IBI
(
I3C_TypeDef
*
p_i3c
)
¶
-
Clear IBI flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CIBIF LL_I3C_ClearFlag_IBI
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_IBIEND
(
I3C_TypeDef
*
p_i3c
)
¶
-
Clear IBI end flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CIBIENDF LL_I3C_ClearFlag_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_CR
(
I3C_TypeDef
*
p_i3c
)
¶
-
Clear controller-role request flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CCRF LL_I3C_ClearFlag_CR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_CRUPD
(
I3C_TypeDef
*
p_i3c
)
¶
-
Clear controller-role request update flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CCRUPDF LL_I3C_ClearFlag_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_HJ
(
I3C_TypeDef
*
p_i3c
)
¶
-
Clear Hot-Join flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CHJF LL_I3C_ClearFlag_HJ
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_WKP
(
I3C_TypeDef
*
p_i3c
)
¶
-
Clear wakeup flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CWKPF LL_I3C_ClearFlag_WKP
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_GET
(
I3C_TypeDef
*
p_i3c
)
¶
-
Clear get flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CGETF LL_I3C_ClearFlag_GET
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_STA
(
I3C_TypeDef
*
p_i3c
)
¶
-
Clear get status flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CSTAF LL_I3C_ClearFlag_STA
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_DAUPD
(
I3C_TypeDef
*
p_i3c
)
¶
-
Clear dynamic address update flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CDAUPDF LL_I3C_ClearFlag_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_MWLUPD
(
I3C_TypeDef
*
p_i3c
)
¶
-
Clear max write length flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CMWLUPDF LL_I3C_ClearFlag_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_MRLUPD
(
I3C_TypeDef
*
p_i3c
)
¶
-
Clear max read length flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CMRLUPDF LL_I3C_ClearFlag_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_RST
(
I3C_TypeDef
*
p_i3c
)
¶
-
Clear reset flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CRSTF LL_I3C_ClearFlag_RST
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_ASUPD
(
I3C_TypeDef
*
p_i3c
)
¶
-
Clear active state flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CASUPDF LL_I3C_ClearFlag_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_INTUPD
(
I3C_TypeDef
*
p_i3c
)
¶
-
Clear interrupt update flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CINTUPDF LL_I3C_ClearFlag_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_DEF
(
I3C_TypeDef
*
p_i3c
)
¶
-
Clear define list targets flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CDEFF LL_I3C_ClearFlag_DEF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_GRP
(
I3C_TypeDef
*
p_i3c
)
¶
-
Clear define list Group addresses flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CGRPF LL_I3C_ClearFlag_GRP
- Parameters :
-
p_i3c – I3C Instance.
Functions
-
void
LL_I3C_EnableIT
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
¶
-
Enable the specified I3C interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_EnableIT
IER SFNEIE LL_I3C_EnableIT
IER TXFNFIE LL_I3C_EnableIT
IER RXFNEIE LL_I3C_EnableIT
IER FCIE LL_I3C_EnableIT
IER RXTGTENDIE LL_I3C_EnableIT
IER ERRIE LL_I3C_EnableIT
IER IBIIE LL_I3C_EnableIT
IER IBIENDIE LL_I3C_EnableIT
IER CRIE LL_I3C_EnableIT
IER CRUPDIE LL_I3C_EnableIT
IER HJIE LL_I3C_EnableIT
IER WKPIE LL_I3C_EnableIT
IER GETIE LL_I3C_EnableIT
IER STAIE LL_I3C_EnableIT
IER DAUPDIE LL_I3C_EnableIT
IER MWLUPDIE LL_I3C_EnableIT
IER MRLUPDIE LL_I3C_EnableIT
IER RSTIE LL_I3C_EnableIT
IER ASUPDIE LL_I3C_EnableIT
IER INTUPDIE LL_I3C_EnableIT
IER DEFIE LL_I3C_EnableIT
IER GRPIE LL_I3C_EnableIT
- Parameters :
-
p_i3c – I3C instance.
mask – interrupt sources to enable. This parameter can be a combination of the following values:
-
void
LL_I3C_DisableIT
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
¶
-
Disable the specified I3C interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_DisableIT
IER SFNEIE LL_I3C_DisableIT
IER TXFNFIE LL_I3C_DisableIT
IER RXFNEIE LL_I3C_DisableIT
IER FCIE LL_I3C_DisableIT
IER RXTGTENDIE LL_I3C_DisableIT
IER ERRIE LL_I3C_DisableIT
IER IBIIE LL_I3C_DisableIT
IER IBIENDIE LL_I3C_DisableIT
IER CRIE LL_I3C_DisableIT
IER CRUPDIE LL_I3C_DisableIT
IER HJIE LL_I3C_DisableIT
IER WKPIE LL_I3C_DisableIT
IER GETIE LL_I3C_DisableIT
IER STAIE LL_I3C_DisableIT
IER DAUPDIE LL_I3C_DisableIT
IER MWLUPDIE LL_I3C_DisableIT
IER MRLUPDIE LL_I3C_DisableIT
IER RSTIE LL_I3C_DisableIT
IER ASUPDIE LL_I3C_DisableIT
IER INTUPDIE LL_I3C_DisableIT
IER DEFIE LL_I3C_DisableIT
IER GRPIE LL_I3C_DisableIT
- Parameters :
-
p_i3c – I3C instance.
mask – interrupt sources to disable. This parameter can be a combination of the following values:
-
uint32_t
LL_I3C_IsEnabledIT
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
¶
-
Check whether the specified I3C interrupts sources are enabled or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_IsEnabledIT
IER SFNEIE LL_I3C_IsEnabledIT
IER TXFNFIE LL_I3C_IsEnabledIT
IER RXFNEIE LL_I3C_IsEnabledIT
IER FCIE LL_I3C_IsEnabledIT
IER RXTGTENDIE LL_I3C_IsEnabledIT
IER ERRIE LL_I3C_IsEnabledIT
IER IBIIE LL_I3C_IsEnabledIT
IER IBIENDIE LL_I3C_IsEnabledIT
IER CRIE LL_I3C_IsEnabledIT
IER CRUPDIE LL_I3C_IsEnabledIT
IER HJIE LL_I3C_IsEnabledIT
IER WKPIE LL_I3C_IsEnabledIT
IER GETIE LL_I3C_IsEnabledIT
IER STAIE LL_I3C_IsEnabledIT
IER DAUPDIE LL_I3C_IsEnabledIT
IER MWLUPDIE LL_I3C_IsEnabledIT
IER MRLUPDIE LL_I3C_IsEnabledIT
IER RSTIE LL_I3C_IsEnabledIT
IER ASUPDIE LL_I3C_IsEnabledIT
IER INTUPDIE LL_I3C_IsEnabledIT
IER DEFIE LL_I3C_IsEnabledIT
IER GRPIE LL_I3C_IsEnabledIT
- Parameters :
-
p_i3c – I3C instance.
mask – Interrupts sources to check. This parameter can be a combination of the following values:
- Return values :
-
State – of interrupts sources (1 or 0).
-
void
LL_I3C_EnableIT_CFNF
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable control FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_EnableIT_CFNF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_CFNF
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable control FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_DisableIT_CFNF
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if control FIFO not full interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_IsEnabledIT_CFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_SFNE
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable status FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER SFNEIE LL_I3C_EnableIT_SFNE
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_SFNE
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable status FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER SFNEIE LL_I3C_DisableIT_SFNE
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_SFNE
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if status FIFO not empty interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER SFNEIE LL_I3C_IsEnabledIT_SFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_TXFNF
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable transmit FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER TXFNFIE LL_I3C_EnableIT_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_TXFNF
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable transmit FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER TXFNFIE LL_I3C_DisableIT_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_TXFNF
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if transmit FIFO not full interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER TXFNFIE LL_I3C_IsEnabledIT_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_RXFNE
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable receive FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXFNEIE LL_I3C_EnableIT_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_RXFNE
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable receive FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXFNEIE LL_I3C_DisableIT_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_RXFNE
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if receive FIFO not empty interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXFNEIE LL_I3C_IsEnabledIT_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_FC
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable Frame Complete interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER FCIE LL_I3C_EnableIT_FC
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_FC
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable Frame Complete interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER FCIE LL_I3C_DisableIT_FC
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_FC
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if Frame Complete interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER FCIE LL_I3C_IsEnabledIT_FC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_RXTGTEND
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable reception target End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXTGTENDIE LL_I3C_EnableIT_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_RXTGTEND
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable reception target End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXTGTENDIE LL_I3C_DisableIT_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_RXTGTEND
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if reception target End interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXTGTENDIE LL_I3C_IsEnabledIT_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_ERR
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable error interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ERRIE LL_I3C_EnableIT_ERR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_ERR
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable error interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ERRIE LL_I3C_DisableIT_ERR
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_ERR
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if error interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ERRIE LL_I3C_IsEnabledIT_ERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_IBI
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable IBI interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIIE LL_I3C_EnableIT_IBI
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_IBI
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable IBI interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIIE LL_I3C_DisableIT_IBI
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_IBI
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if IBI interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIIE LL_I3C_IsEnabledIT_IBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_IBIEND
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable IBI End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIENDIE LL_I3C_EnableIT_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_IBIEND
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable IBI End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIENDIE LL_I3C_DisableIT_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_IBIEND
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if IBI End interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIENDIE LL_I3C_IsEnabledIT_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_CR
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable controller-role interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRIE LL_I3C_EnableIT_CR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_CR
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable controller-role interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRIE LL_I3C_DisableIT_CR
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_CR
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if controller-role interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRIE LL_I3C_IsEnabledIT_CR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_CRUPD
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable controller-role update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRUPDIE LL_I3C_EnableIT_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_CRUPD
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable controller-role update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRUPDIE LL_I3C_DisableIT_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_CRUPD
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if controller-role update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRUPDIE LL_I3C_IsEnabledIT_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_HJ
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable Hot-Join interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER HJIE LL_I3C_EnableIT_HJ
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_HJ
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable Hot-Join interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER HJIE LL_I3C_DisableIT_HJ
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_HJ
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if Hot-Join interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER HJIE LL_I3C_IsEnabledIT_HJ
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_WKP
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable wake up interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER WKPIE LL_I3C_EnableIT_WKP
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_WKP
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable wake up interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER WKPIE LL_I3C_DisableIT_WKP
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_WKP
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if wakeup is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER WKPIE LL_I3C_IsEnabledIT_WKP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_GET
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable get command interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GETIE LL_I3C_EnableIT_GET
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_GET
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable get command interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GETIE LL_I3C_DisableIT_GET
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_GET
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if get command is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GETIE LL_I3C_IsEnabledIT_GET
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_STA
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable get status interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER STAIE LL_I3C_EnableIT_STA
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_STA
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable get status interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER STAIE LL_I3C_DisableIT_STA
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_STA
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if get status interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER STAIE LL_I3C_IsEnabledIT_STA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_DAUPD
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable dynamic address update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DAUPDIE LL_I3C_EnableIT_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_DAUPD
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable dynamic address update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DAUPDIE LL_I3C_DisableIT_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_DAUPD
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if dynamic address update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DAUPDIE LL_I3C_IsEnabledIT_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_MWLUPD
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable max write length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MWLUPDIE LL_I3C_EnableIT_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_MWLUPD
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable max write length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MWLUPDIE LL_I3C_DisableIT_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_MWLUPD
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if max write length update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MWLUPDIE LL_I3C_IsEnabledIT_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_MRLUPD
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable max read length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MRLUPDIE LL_I3C_EnableIT_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_MRLUPD
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable max read length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MRLUPDIE LL_I3C_DisableIT_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_MRLUPD
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if max read length update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MRLUPDIE LL_I3C_IsEnabledIT_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_RST
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable reset interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RSTIE LL_I3C_EnableIT_RST
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_RST
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable reset interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RSTIE LL_I3C_DisableIT_RST
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_RST
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if reset interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RSTIE LL_I3C_IsEnabledIT_RST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_ASUPD
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable activity state update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ASUPDIE LL_I3C_EnableIT_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_ASUPD
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable activity state update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ASUPDIE LL_I3C_DisableIT_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_ASUPD
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if activity state update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ASUPDIE LL_I3C_IsEnabledIT_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_INTUPD
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable interrupt update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER INTUPDIE LL_I3C_EnableIT_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_INTUPD
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable interrupt update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER INTUPDIE LL_I3C_DisableIT_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_INTUPD
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if interrupt update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER INTUPDIE LL_I3C_IsEnabledIT_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_DEF
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable define list target interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DEFIE LL_I3C_EnableIT_DEF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_DEF
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable define list target interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DEFIE LL_I3C_DisableIT_DEF
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_DEF
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if define list target interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DEFIE LL_I3C_IsEnabledIT_DEF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_GRP
(
I3C_TypeDef
*
p_i3c
)
¶
-
Enable define list Group addresses interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GRPIE LL_I3C_EnableIT_GRP
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_GRP
(
I3C_TypeDef
*
p_i3c
)
¶
-
Disable define list Group addresses interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GRPIE LL_I3C_DisableIT_GRP
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_GRP
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Check if define list Group addresses interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GRPIE LL_I3C_IsEnabledIT_GRP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
Functions
-
uint32_t
LL_I3C_IsActiveMaskFlag_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt control FIFO not full flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR CFNFMIS LL_I3C_IsActiveMaskFlag_CFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_SFNE
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt status FIFO not empty flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR SFNEMIS LL_I3C_IsActiveMaskFlag_SFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_TXFNF
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt transmit FIFO not full flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR TXFNFMIS LL_I3C_IsActiveMaskFlag_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_RXFNE
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt receive FIFO not empty flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR RXFNEMIS LL_I3C_IsActiveMaskFlag_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_FC
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt Frame Complete flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR FCMIS LL_I3C_IsActiveMaskFlag_FC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_RXTGTEND
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt reception target end flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR RXTGTENDMIS LL_I3C_IsActiveMaskFlag_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_ERR
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt error flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR ERRMIS LL_I3C_IsActiveMaskFlag_ERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_IBI
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt IBI flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR IBIMIS LL_I3C_IsActiveMaskFlag_IBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_IBIEND
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt IBI end flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR IBIENDMIS LL_I3C_IsActiveMaskFlag_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_CR
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt controller-role flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR CRMIS LL_I3C_IsActiveMaskFlag_CR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_CRUPD
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt controller-role update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR CRUPDMIS LL_I3C_IsActiveMaskFlag_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_HJ
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt Hot-Join flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR HJMIS LL_I3C_IsActiveMaskFlag_HJ
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_WKP
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt wakeup is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR WKPMIS LL_I3C_IsActiveMaskFlag_WKP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_GET
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt get command is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR GETMIS LL_I3C_IsActiveMaskFlag_GET
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_STA
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt get status flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR STAMIS LL_I3C_IsActiveMaskFlag_STA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_DAUPD
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt dynamic address update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR DAUPDMIS LL_I3C_IsActiveMaskFlag_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_MWLUPD
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt max write length update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR MWLUPDMIS LL_I3C_IsActiveMaskFlag_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_MRLUPD
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt max read length update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR MRLUPDMIS LL_I3C_IsActiveMaskFlag_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_RST
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt reset flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR RSTMIS LL_I3C_IsActiveMaskFlag_RST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_ASUPD
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt activity state update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR ASUPDMIS LL_I3C_IsActiveMaskFlag_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_INTUPD
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR INTUPDMIS LL_I3C_IsActiveMaskFlag_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_DEF
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt define list target flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR DEFMIS LL_I3C_IsActiveMaskFlag_DEF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_GRP
(
const
I3C_TypeDef
*
p_i3c
)
¶
-
Indicates the status of masked interrupt define list Group addresses flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR GRPMIS LL_I3C_IsActiveMaskFlag_GRP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_Enable
(
I3C_TypeDef
*
p_i3c
)
¶
- group I3C_LL_Exported_Functions
-
Functions
-
void
LL_I3C_Enable
(
I3C_TypeDef
*
p_i3c
)
-
Enable I3C peripheral (EN = 1).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EN LL_I3C_Enable
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_Disable
(
I3C_TypeDef
*
p_i3c
)
-
Disable I3C peripheral (EN = 0).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EN LL_I3C_Disable
Note
Controller mode: before clearing EN, all possible target requests must be disabled using DISEC CCC. Target mode: software is not expected clearing EN unless a partial reset of the IP is needed
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabled
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the I3C peripheral is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EN LL_I3C_IsEnabled
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_GetRegister_CFGR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw CFGR register value.
- Reference Manual to LL API cross reference (Register Field Functions) CFGR * LL_I3C_GetRegister_CFGR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – CFGR register content.
-
uint32_t
LL_I3C_GetEnabledIT
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw IER register value.
- Reference Manual to LL API cross reference (Register Field Functions) IER * LL_I3C_GetEnabledIT
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – IER register content.
-
uint32_t
LL_I3C_GetFlag
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
flags
)
-
Return masked EVR flags state.
- Reference Manual to LL API cross reference (Register Field Functions) EVR * LL_I3C_GetFlag
-
- Parameters :
-
p_i3c – I3C Instance.
flags – Mask of EVR bits to check (OR-combination of EVR flags).
- Return values :
-
Masked – EVR value (non-zero bits indicate set flags).
-
uint32_t
LL_I3C_GetRegister_GETMXDSR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw GETMXDSR register value.
- Reference Manual to LL API cross reference (Register Field Functions) GETMXDSR * LL_I3C_GetRegister_GETMXDSR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – GETMXDSR register content.
-
uint32_t
LL_I3C_GetRegister_MISR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw MISR register value.
- Reference Manual to LL API cross reference (Register Field Functions) MISR * LL_I3C_GetRegister_MISR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – MISR register content.
-
uint32_t
LL_I3C_GetRegister_BCR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw BCR register value.
- Reference Manual to LL API cross reference (Register Field Functions) BCR * LL_I3C_GetRegister_BCR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – BCR register content.
-
uint32_t
LL_I3C_GetRegister_SER
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw SER register value.
- Reference Manual to LL API cross reference (Register Field Functions) SER * LL_I3C_GetRegister_SER
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – SER register content.
-
uint32_t
LL_I3C_GetRegister_TIMINGR2
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw TIMINGR2 register value.
- Reference Manual to LL API cross reference (Register Field Functions) TIMINGR2 * LL_I3C_GetRegister_TIMINGR2
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – TIMINGR2 register content.
-
void
LL_I3C_SetRegister_CR
(
I3C_TypeDef
*
p_i3c
,
uint32_t
cr_value
)
-
Write raw value into CR register.
- Reference Manual to LL API cross reference (Register Field Functions) CR * LL_I3C_SetRegister_CR
-
- Parameters :
-
p_i3c – I3C Instance.
cr_value – 32-bit value to program in CR.
-
uint32_t
LL_I3C_IsEnabledReset
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reset action is required or not required.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 RSTVAL LL_I3C_IsEnabledReset
Note
This bit indicates if reset action field has been updated by HW upon reception of RSTACT during current frame.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetMode
(
I3C_TypeDef
*
p_i3c
,
uint32_t
peripheral_mode
)
-
Configure peripheral mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CRINIT LL_I3C_SetMode
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
peripheral_mode – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetMode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get peripheral mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CRINIT LL_I3C_GetMode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_EnableArbitrationHeader
(
I3C_TypeDef
*
p_i3c
)
-
An arbitration header (7’h7E) is sent after start in case of legacy I2C or I3C private transfers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR NOARBH LL_I3C_EnableArbitrationHeader
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableArbitrationHeader
(
I3C_TypeDef
*
p_i3c
)
-
Target address is sent directly after a start in case of legacy I2C or I3C private transfers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR NOARBH LL_I3C_DisableArbitrationHeader
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledArbitrationHeader
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the arbitration header is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR NOARBH LL_I3C_IsEnabledArbitrationHeader
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableResetPattern
(
I3C_TypeDef
*
p_i3c
)
-
A reset pattern is inserted before the STOP at the end of a frame when the last CCC of the frame was RSTACT CCC.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RSTPTRN LL_I3C_EnableResetPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableResetPattern
(
I3C_TypeDef
*
p_i3c
)
-
A single STOP is emitted at the end of a frame.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RSTPTRN LL_I3C_DisableResetPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledResetPattern
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reset pattern is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RSTPTRN LL_I3C_IsEnabledResetPattern
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableExitPattern
(
I3C_TypeDef
*
p_i3c
)
-
An exit pattern is sent after header (MTYPE = header) to program an escalation fault.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EXITPTRN LL_I3C_EnableExitPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableExitPattern
(
I3C_TypeDef
*
p_i3c
)
-
An exit pattern is not sent after header (MTYPE = header).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EXITPTRN LL_I3C_DisableExitPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledExitPattern
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if exit pattern is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EXITPTRN LL_I3C_IsEnabledExitPattern
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableHighKeeperSDA
(
I3C_TypeDef
*
p_i3c
)
-
High keeper is enabled and will be used in place of standard open drain pull up device during handoff procedures.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HKSDAEN LL_I3C_EnableHighKeeperSDA
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHighKeeperSDA
(
I3C_TypeDef
*
p_i3c
)
-
High keeper is disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HKSDAEN LL_I3C_DisableHighKeeperSDA
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHighKeeperSDA
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if High keeper is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HKSDAEN LL_I3C_IsEnabledHighKeeperSDA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableHJAck
(
I3C_TypeDef
*
p_i3c
)
-
Hot-Join request is acked. Current frame on the bus is continued. A Hot-Join interrupt is sent through HJF flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HJACK LL_I3C_EnableHJAck
Note
This bit can be used when I3C is acting as a controller.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHJAck
(
I3C_TypeDef
*
p_i3c
)
-
Hot-Join request is NACKed. Current frame on the bus is continued. No Hot-Join interrupt is generated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HJACK LL_I3C_DisableHJAck
Note
This bit can be used when I3C is acting as a controller.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHJAck
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Hot-Join request acknowledgement is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HJACK LL_I3C_IsEnabledHJAck
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_DMA_GetRegAddr
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
direction
)
-
Get the data register address used for DMA transfer.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TDR TDB0 LL_I3C_DMA_GetRegAddr
TDWR TDWR LL_I3C_DMA_GetRegAddr
RDR RXRB0 LL_I3C_DMA_GetRegAddr
RDWR RDWR LL_I3C_DMA_GetRegAddr
SR SR LL_I3C_DMA_GetRegAddr
CR CR LL_I3C_DMA_GetRegAddr
- Parameters :
-
p_i3c – I3C Instance
direction – This parameter can be one of the following values:
- Return values :
-
Address – of data register
-
void
LL_I3C_EnableDMAReq_RX
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO reception requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXDMAEN LL_I3C_EnableDMAReq_RX
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_RX
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO reception requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXDMAEN LL_I3C_DisableDMAReq_RX
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_RX
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO reception requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXDMAEN LL_I3C_IsEnabledDMAReq_RX
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetRxFIFOThreshold
(
I3C_TypeDef
*
p_i3c
,
uint32_t
rx_fifo_threshold
)
-
Set the receive FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXTHRES LL_I3C_SetRxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
rx_fifo_threshold – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetRxFIFOThreshold
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the receive FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXTHRES LL_I3C_GetRxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_EnableDMAReq_TX
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO transmission requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXDMAEN LL_I3C_EnableDMAReq_TX
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_TX
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO transmission requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXDMAEN LL_I3C_DisableDMAReq_TX
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_TX
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO transmission requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXDMAEN LL_I3C_IsEnabledDMAReq_TX
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetTxFIFOThreshold
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tx_fifo_threshold
)
-
Set the transmit FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_SetTxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
tx_fifo_threshold – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetTxFIFOThreshold
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the transmit FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_GetTxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
State – of bit (1 or 0).
-
uint32_t
LL_I3C_GetCtrlFifo
(
const
I3C_TypeDef
*
p_i3c
)
-
Get controller FIFO configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_GetCtrlFifo
CFGR SMODE LL_I3C_GetCtrlFifo
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
One – of: LL_I3C_CTRL_FIFO_NONE LL_I3C_CTRL_FIFO_CONTROL_ONLY LL_I3C_CTRL_FIFO_STATUS_ONLY LL_I3C_CTRL_FIFO_ALL
-
void
LL_I3C_EnableDMAReq_Status
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO status requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SDMAEN LL_I3C_EnableDMAReq_Status
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_Status
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO status requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SDMAEN LL_I3C_DisableDMAReq_Status
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_Status
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO status requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SDMAEN LL_I3C_IsEnabledDMAReq_Status
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ConfigCtrlFifo
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tx_fifo_threshold
,
uint32_t
rx_fifo_threshold
,
uint32_t
ctrl_fifo
)
-
Configure the controller fifo.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_ConfigCtrlFifo
CFGR RXTHRES LL_I3C_ConfigCtrlFifo
CFGR TMODE LL_I3C_ConfigCtrlFifo
CFGR SMODE LL_I3C_ConfigCtrlFifo
Note
These bits can only be programmed when EN = 0.
- Parameters :
-
p_i3c – I3C Instance.
tx_fifo_threshold – One of LL_I3C_TXFIFO_THRESHOLD_1_8 or LL_I3C_TXFIFO_THRESHOLD_1_2.
rx_fifo_threshold – One of LL_I3C_RXFIFO_THRESHOLD_1_8 or LL_I3C_RXFIFO_THRESHOLD_1_2.
ctrl_fifo – One of LL_I3C_CTRL_FIFO_NONE, LL_I3C_CTRL_FIFO_CONTROL_ONLY, LL_I3C_CTRL_FIFO_STATUS_ONLY, LL_I3C_CTRL_FIFO_ALL.
-
void
LL_I3C_ConfigTgtFifo
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tx_fifo_threshold
,
uint32_t
rx_fifo_threshold
)
-
Configure the target fifo.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_ConfigTgtFifo
CFGR RXTHRES LL_I3C_ConfigTgtFifo
Note
These bits can only be programmed when EN = 0.
- Parameters :
-
p_i3c – I3C Instance.
tx_fifo_threshold – One of LL_I3C_TXFIFO_THRESHOLD_1_8 or LL_I3C_TXFIFO_THRESHOLD_1_2.
rx_fifo_threshold – One of LL_I3C_RXFIFO_THRESHOLD_1_8 or LL_I3C_RXFIFO_THRESHOLD_1_2.
-
void
LL_I3C_EnableStatusFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Enable the status FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_EnableStatusFIFO
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_EnableStatusFIFO
Note
Not applicable in target mode. status FIFO always disabled in target mode.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStatusFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Disable the status FIFO threshold.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_DisableStatusFIFO
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStatusFIFO
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the status FIFO threshold is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_IsEnabledStatusFIFO
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableControlFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Enable the control and transmit FIFO preloaded before starting a transfer on I3C bus.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_EnableControlFIFO
Note
Not applicable in target mode. control FIFO always disabled in target mode.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableControlFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Disable the control and transmit FIFO preloaded before starting a transfer on I3C bus.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_DisableControlFIFO
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledControlFIFO
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the control and transmit FIFO preloaded is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_IsEnabledControlFIFO
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableDMAReq_Control
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO control word transfer requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_EnableDMAReq_Control
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_Control
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO control word transfer requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_DisableDMAReq_Control
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableAllDMARequests
(
I3C_TypeDef
*
p_i3c
)
-
Disable all I3C DMA request sources (Control, RX, TX, Status) with a single register access.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_DisableAllDMARequests
CFGR RXDMAEN LL_I3C_DisableAllDMARequests
CFGR TXDMAEN LL_I3C_DisableAllDMARequests
CFGR SDMAEN LL_I3C_DisableAllDMARequests
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_Control
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO control word transfer requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_IsEnabledDMAReq_Control
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableOwnDynAddress
(
I3C_TypeDef
*
p_i3c
)
-
Set Own dynamic address as Valid.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DAVAL LL_I3C_EnableOwnDynAddress
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_SetAndEnableOwnDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
own_dynamic_address
)
-
Configure Own dynamic address and set it valid in one operation.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DA,DAVAL LL_I3C_SetAndEnableOwnDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
own_dynamic_address – Value between 0 and 0x7F.
-
void
LL_I3C_DisableOwnDynAddress
(
I3C_TypeDef
*
p_i3c
)
-
Set Own dynamic address as not-Valid.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DAVAL LL_I3C_DisableOwnDynAddress
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledOwnDynAddress
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if own dynamic address is valid or not valid.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DAVAL LL_I3C_IsEnabledOwnDynAddress
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetOwnDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
own_dynamic_address
)
-
Configure Own dynamic address.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DA LL_I3C_SetOwnDynamicAddress
Note
This bit can be programmed in controller mode or during dynamic address procedure from current controller.
- Parameters :
-
p_i3c – I3C Instance.
own_dynamic_address – This parameter must be a value between Min_Data=0 and Max_Data=0x7F
-
uint8_t
LL_I3C_GetOwnDynamicAddress
(
const
I3C_TypeDef
*
p_i3c
)
-
Get Own dynamic address.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DA LL_I3C_GetOwnDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x7F
-
void
LL_I3C_EnableIBI
(
I3C_TypeDef
*
p_i3c
)
-
Set IBI procedure allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 IBIEN LL_I3C_EnableIBI
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIBI
(
I3C_TypeDef
*
p_i3c
)
-
Set IBI procedure not-allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 IBIEN LL_I3C_DisableIBI
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if IBI procedure is allowed or not allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 IBIEN LL_I3C_IsEnabledIBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableControllerRoleReq
(
I3C_TypeDef
*
p_i3c
)
-
Set controller-role request allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 CREN LL_I3C_EnableControllerRoleReq
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableControllerRoleReq
(
I3C_TypeDef
*
p_i3c
)
-
Set controller-role request as not-allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 CREN LL_I3C_DisableControllerRoleReq
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledControllerRoleReq
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if controller-role request is allowed or not-allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 CREN LL_I3C_IsEnabledControllerRoleReq
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableHotJoin
(
I3C_TypeDef
*
p_i3c
)
-
Set Hot-Join allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 HJEN LL_I3C_EnableHotJoin
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHotJoin
(
I3C_TypeDef
*
p_i3c
)
-
Set Hot-Join as not-allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 HJEN LL_I3C_DisableHotJoin
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHotJoin
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Hot-Join is allowed or not-allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 HJEN LL_I3C_IsEnabledHotJoin
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetMaxReadLength
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_read_length
)
-
Configure maximum read length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR MRL LL_I3C_SetMaxReadLength
Note
Those bits can be updated by HW upon reception of GETMRL CCC.
- Parameters :
-
p_i3c – I3C Instance.
max_read_length – This parameter must be a value between Min_Data=0x0 and Max_Data=0xFFFF
-
uint32_t
LL_I3C_GetMaxReadLength
(
const
I3C_TypeDef
*
p_i3c
)
-
Return maximum read length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR MRL LL_I3C_GetMaxReadLength
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0x0 and Max_Data=0xFFFFF
-
void
LL_I3C_ConfigNbIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
nb_ibi_add_data
)
-
Configure the number of additional Mandatory data Byte (MDB) sent to the controller after an acknowledge of the IBI (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR IBIP LL_I3C_ConfigNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
nb_ibi_add_data – This parameter can be one of the following values:
LL_I3C_PAYLOAD_EMPTY << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_1_BYTE << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_2_BYTE << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_3_BYTE << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_4_BYTE << I3C_MAXRLR_IBIP_Pos
-
void
LL_I3C_SetNbIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
nb_ibi_add_data
)
-
Set the number of additional Mandatory data Byte (MDB) sent to the controller after an acknowledge of the IBI (target mode). I3C_MAXRLR_IBIP must be at reset value. It means after a block reset of the I3C Instance.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR IBIP LL_I3C_SetNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
nb_ibi_add_data – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetConfigNbIBIAddData
(
const
I3C_TypeDef
*
p_i3c
)
-
Return the number of additional Mandatory data Byte (MDB) sent to the controller after an acknowledge of the IBI (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR IBIP LL_I3C_GetConfigNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMaxWriteLength
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_write_length_byte
)
-
Configure maximum write length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXWLR MWL LL_I3C_SetMaxWriteLength
Note
Those bits can be updated by HW upon reception of GETMWL CCC.
- Parameters :
-
p_i3c – I3C Instance.
max_write_length_byte – This parameter must be a value between Min_Data=0x0 and Max_Data=0xFFFF
-
uint32_t
LL_I3C_GetMaxWriteLength
(
const
I3C_TypeDef
*
p_i3c
)
-
Return maximum write length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXWLR MWL LL_I3C_GetMaxWriteLength
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0x0 and Max_Data=0xFFFFF
-
void
LL_I3C_ConfigClockWaveForm
(
I3C_TypeDef
*
p_i3c
,
uint32_t
clock_wave_form
)
-
Configure the SCL clock signal waveform.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 TIMINGR0 LL_I3C_ConfigClockWaveForm
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
clock_wave_form – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF.
-
uint32_t
LL_I3C_GetClockWaveForm
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock signal waveform.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 TIMINGR0 LL_I3C_GetClockWaveForm
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFFFFFFFF.
-
void
LL_I3C_SetPeriodClockLowPP
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_low_pp
)
-
Configure the SCL clock low period during I3C push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_PP LL_I3C_SetPeriodClockLowPP
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_low_pp – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockLowPP
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock low period during I3C push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_PP LL_I3C_GetPeriodClockLowPP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPeriodClockHighI3C
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_high_i3c
)
-
Configure the SCL clock High period during I3C open drain and push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I3C LL_I3C_SetPeriodClockHighI3C
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_high_i3c – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockHighI3C
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock high period during I3C open drain and push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I3C LL_I3C_GetPeriodClockHighI3C
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPeriodClockLowOD
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_low_od
)
-
Configure the SCL clock low period during I3C open drain phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_OD LL_I3C_SetPeriodClockLowOD
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_low_od – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockLowOD
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock low period during I3C open phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_OD LL_I3C_GetPeriodClockLowOD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPeriodClockHighI2C
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_high_i2c
)
-
Configure the SCL clock High period during I2C open drain phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I2C LL_I3C_SetPeriodClockHighI2C
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_high_i2c – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockHighI2C
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock high period during I2C open drain phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I2C LL_I3C_GetPeriodClockHighI2C
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetDataHoldTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data_hold_time
)
-
Configure the controller additional hold time on SDA line.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_SetDataHoldTime
- Parameters :
-
p_i3c – I3C Instance.
data_hold_time – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDataHoldTime
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the controller additional hold time on SDA line.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_GetDataHoldTime
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetAvalTiming
(
I3C_TypeDef
*
p_i3c
,
uint32_t
aval_timing
)
-
Configure the Idle, Available state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 AVAL LL_I3C_SetAvalTiming
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
aval_timing – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetAvalTiming
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the Idle, Available integer value state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 AVAL LL_I3C_GetAvalTiming
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetFreeTiming
(
I3C_TypeDef
*
p_i3c
,
uint32_t
free_timing
)
-
Configure the Free state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 FREE LL_I3C_SetFreeTiming
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
free_timing – This parameter must be a value between Min_Data=0 and Max_Data=0x3F.
-
uint32_t
LL_I3C_GetFreeTiming
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the free integer value state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 FREE LL_I3C_GetFreeTiming
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x3F.
-
void
LL_I3C_SetControllerActivityState
(
I3C_TypeDef
*
p_i3c
,
uint32_t
controller_activity_state
)
-
Configure the activity state of the new controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 ASNCR LL_I3C_SetControllerActivityState
Note
Refer to MIPI I3C specification ( https:__www.mipi.org_specifications) for more details related to activity state.
- Parameters :
-
p_i3c – I3C Instance.
controller_activity_state – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetControllerActivityState
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the activity state of the new controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 ASNCR LL_I3C_GetControllerActivityState
Note
Refer to MIPI I3C specification ( https:__www.mipi.org_specifications) for more details related to activity state.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetBusCharacteristic
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_bus_characteristic
)
-
Configure the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_SetBusCharacteristic
TIMINGR1 FREE LL_I3C_SetBusCharacteristic
TIMINGR1 ASNCR LL_I3C_SetBusCharacteristic
TIMINGR1 AVAL LL_I3C_SetBusCharacteristic
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_bus_characteristic – This parameter must be a value between Min_Data=0 and Max_Data=0x107F03FF.
-
uint32_t
LL_I3C_GetBusCharacteristic
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_GetBusCharacteristic
TIMINGR1 FREE LL_I3C_GetBusCharacteristic
TIMINGR1 ASNCR LL_I3C_GetBusCharacteristic
TIMINGR1 AVAL LL_I3C_GetBusCharacteristic
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x107F03FF.
-
void
LL_I3C_SetCtrlBusCharacteristic
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_bus_characteristic
)
-
Configure the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_SetCtrlBusCharacteristic
TIMINGR1 FREE LL_I3C_SetCtrlBusCharacteristic
TIMINGR1 ASNCR LL_I3C_SetCtrlBusCharacteristic
TIMINGR1 IDLE LL_I3C_SetCtrlBusCharacteristic
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_bus_characteristic – This parameter must be a value between Min_Data=0 and Max_Data=0x107F03FF.
-
uint32_t
LL_I3C_GetCtrlBusCharacteristic
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_GetCtrlBusCharacteristic
TIMINGR1 FREE LL_I3C_GetCtrlBusCharacteristic
TIMINGR1 ASNCR LL_I3C_GetCtrlBusCharacteristic
TIMINGR1 IDLE LL_I3C_GetCtrlBusCharacteristic
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x107F03FF.
-
void
LL_I3C_SetTgtBusCharacteristic
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tgt_bus_characteristic
)
-
Configure the target available state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 IDLE LL_I3C_SetTgtBusCharacteristic
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
tgt_bus_characteristic – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetTgtBusCharacteristic
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the target available state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 IDLE LL_I3C_GetTgtBusCharacteristic
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_ConfigStallTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
stall_time_cycle
,
uint32_t
stall_features
)
-
Set the SCL clock stalling configuration. All stall features not selected are disabled.
Note
This configuration can be set when the I3C is acting as controller.
- Parameters :
-
hi3c – Pointer to a hal_i3c_handle_t
stall_time_cycle – Controller clock stall time in number of kernel clock cycles. This parameter must be a number between Min_Data=0x00 and Max_Data=0xFF.
stall_features – Features of the I3C controller to which the stall time will be applied. See Stall feature definition, this parameter is a combination of the following values: LL_I3C_CTRL_STALL_ACK LL_I3C_CTRL_STALL_CCC LL_I3C_CTRL_STALL_TX LL_I3C_CTRL_STALL_RX LL_I3C_CTRL_STALL_I2C_ACK LL_I3C_CTRL_STALL_I2C_TX LL_I3C_CTRL_STALL_I2C_RX LL_I3C_CTRL_STALL_ALL LL_I3C_CTRL_STALL_NONE
-
void
LL_I3C_SetStallTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_stall_time
)
-
Configure the SCL clock stalling time on I3C Bus (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALL LL_I3C_SetStallTime
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_stall_time – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetStallTime
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock stalling time on I3C Bus (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALL LL_I3C_GetStallTime
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_EnableStallACKI2CAddr
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on data ACK/NACK bit of legacy I2C address (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLL LL_I3C_EnableStallACKI2CAddr
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACKI2CAddr
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on data ACK/NACK bit of legacy I2C address (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_DisableStallACKI2CAddr
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACKI2CAddr
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on data ACK/NACK bit of legacy I2C address is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_IsEnabledStallACKI2CAddr
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallACKI2CWrite
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on data ACK/NACK bit of legacy I2C write message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLS LL_I3C_EnableStallACKI2CWrite
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACKI2CWrite
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on data ACK/NACK bit of legacy I2C write message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLS LL_I3C_DisableStallACKI2CWrite
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACKI2CWrite
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on data ACK/NACK bit of legacy I2C write message is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLS LL_I3C_IsEnabledStallACKI2CWrite
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallACKI2CRead
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on data ACK/NACK bit of legacy I2C read message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLR LL_I3C_EnableStallACKI2CRead
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACKI2CRead
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on data ACK/NACK bit of legacy I2C read message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLR LL_I3C_DisableStallACKI2CRead
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACKI2CRead
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on data ACK/NACK bit of legacy I2C read message is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLR LL_I3C_IsEnabledStallACKI2CRead
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallACK
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on ACK bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_EnableStallACK
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACK
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on ACK bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_DisableStallACK
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACK
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on ACK bit is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_IsEnabledStallACK
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallParityCCC
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on Parity bit of command Code byte (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLC LL_I3C_EnableStallParityCCC
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallParityCCC
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on Parity bit of command Code byte (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLC LL_I3C_DisableStallParityCCC
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallParityCCC
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on Parity bit of command Code byte is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLC LL_I3C_IsEnabledStallParityCCC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallParityData
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on Parity bit of data bytes (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLD LL_I3C_EnableStallParityData
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallParityData
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on Parity bit of data bytes (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLD LL_I3C_DisableStallParityData
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallParityData
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on Parity bit of data bytes is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLD LL_I3C_IsEnabledStallParityData
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallTbit
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on T bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLT LL_I3C_EnableStallTbit
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallTbit
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on T bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLT LL_I3C_DisableStallTbit
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallTbit
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on T bit is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLT LL_I3C_IsEnabledStallTbit
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ConfigPayloadEntDAA
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_data_speed_limitation
,
uint32_t
ibi_payload
,
uint32_t
ctrl_role
)
-
Set control capability, IBI payload support and max speed limitation in BCR register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR LL_I3C_ConfigPayloadEntDAA
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
max_data_speed_limitation – This parameter can be one of the following values:
ibi_payload – This parameter can be one of the following values:
ctrl_role – This parameter can be one of the following values:
-
void
LL_I3C_SetDeviceCapabilityOnBus
(
I3C_TypeDef
*
p_i3c
,
uint32_t
device_capability_on_bus
)
-
Configure the device capability on bus as target or controller (MIPI Bus Characteristics Register BCR6).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR6 LL_I3C_SetDeviceCapabilityOnBus
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
device_capability_on_bus – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDeviceCapabilityOnBus
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the device capability on bus as target or controller (MIPI Bus Characteristics Register BCR6).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR6 LL_I3C_GetDeviceCapabilityOnBus
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetDeviceIBIPayload
(
I3C_TypeDef
*
p_i3c
,
uint32_t
device_ibi_payload
)
-
Configure the device IBI payload (MIPI Bus Characteristics Register BCR2).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR2 LL_I3C_SetDeviceIBIPayload
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
device_ibi_payload – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDeviceIBIPayload
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the device IBI payload (MIPI Bus Characteristics Register BCR2).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR2 LL_I3C_GetDeviceIBIPayload
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetDataSpeedLimitation
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data_speed_limitation
)
-
Configure the data Speed Limitation (limitation, as described by I3C_GETMXDSR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR0 LL_I3C_SetDataSpeedLimitation
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
data_speed_limitation – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDataSpeedLimitation
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the data Speed Limitation (limitation, as described by I3C_GETMXDSR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR0 LL_I3C_GetDataSpeedLimitation
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetDeviceCharacteristics
(
I3C_TypeDef
*
p_i3c
,
uint32_t
device_characteristics
)
-
Configure the device Characteristics Register (DCR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DCR DC LL_I3C_SetDeviceCharacteristics
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
Refer MIPI web site for the list of device code available.
- Parameters :
-
p_i3c – I3C Instance.
device_characteristics – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetDeviceCharacteristics
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the device Characteristics Register (DCR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DCR DCR LL_I3C_GetDeviceCharacteristics
Note
Refer MIPI web site to associated value with the list of device code available.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPendingReadMDB
(
I3C_TypeDef
*
p_i3c
,
uint32_t
pending_read_mdb
)
-
Configure IBI MDB support for pending read notification.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETCAPR CAPPEND LL_I3C_SetPendingReadMDB
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
pending_read_mdb – This parameter can be one of the following values:
-
void
LL_I3C_EnablePendingReadMDB
(
I3C_TypeDef
*
p_i3c
)
-
Enable IBI MDB support for pending read notification.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETCAPR CAPPEND LL_I3C_EnablePendingReadMDB
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_GetPendingReadMDB
(
const
I3C_TypeDef
*
p_i3c
)
-
Get IBI MDB support for pending read notification value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETCAPR CAPPEND LL_I3C_GetPendingReadMDB
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetGrpAddrHandoffSupport
(
I3C_TypeDef
*
p_i3c
,
uint32_t
grp_addr_handoff_support
)
-
Configure the Group Management Support bit of MSTCAP1.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPGRP LL_I3C_SetGrpAddrHandoffSupport
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
grp_addr_handoff_support – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetGrpAddrHandoffSupport
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the Group Management Support bit of MSTCAP1.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPGRP LL_I3C_GetGrpAddrHandoffSupport
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetControllerHandoffDelayed
(
I3C_TypeDef
*
p_i3c
,
uint32_t
controller_handoff_delayed
)
-
Configure the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_SetControllerHandoffDelayed
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
controller_handoff_delayed – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetControllerHandoffDelayed
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_GetControllerHandoffDelayed
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_EnableHandOffDelay
(
I3C_TypeDef
*
p_i3c
)
-
Enable the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_EnableHandOffDelay
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHandOffDelay
(
I3C_TypeDef
*
p_i3c
)
-
Disable the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_DisableHandOffDelay
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHandOffDelay
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates if the Delayed controller Handoff bit in MSTCAP2 is enabled. RESET: IBI not Acknowledged. SET: IBI Acknowledged.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_IsEnabledHandOffDelay
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetConfigGETMXDS
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_handoff_activity
,
uint32_t
getmxds_format
,
uint32_t
data_turnaround_duration
,
uint32_t
max_read_turnaround
)
-
Configure GETMXDS response fields.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR HOFFAS,FMT,TSCO,RDTURN LL_I3C_SetConfigGETMXDS
Note
Programmable only when EN = 0.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_handoff_activity – One of LL_I3C_HANDOFF_ACTIVITY_STATE_0..3 (HOFFAS bits).
getmxds_format – One of LL_I3C_GETMXDS_FORMAT_1 / _2_LSB / _2_MID / _2_MSB (FMT bits).
data_turnaround_duration – One of LL_I3C_TURNAROUND_TIME_TSCO_LESS_12NS or LL_I3C_TURNAROUND_TIME_TSCO_GREATER_12NS (TSCO bit).
max_read_turnaround – Value 0..0xF placed in RDTURN[3:0] (only used for format 2 variants).
-
void
LL_I3C_SetHandoffActivityState
(
I3C_TypeDef
*
p_i3c
,
uint32_t
handoff_activity_state
)
-
Configure the activity state after controllership handoff.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR HOFFAS LL_I3C_SetHandoffActivityState
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
handoff_activity_state – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetHandoffActivityState
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the activity state after controllership handoff.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR HOFFAS LL_I3C_GetHandoffActivityState
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMaxDataSpeedFormat
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_data_speed_format
)
-
Configure the max data speed format response for GETMXDS CCC.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR FMT LL_I3C_SetMaxDataSpeedFormat
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
max_data_speed_format – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetMaxDataSpeedFormat
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the max data Speed format response for GETMXDS CCC.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR FMT LL_I3C_GetMaxDataSpeedFormat
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMiddleByteTurnAround
(
I3C_TypeDef
*
p_i3c
,
uint32_t
middle_byte_turn_around
)
-
Configure the middle byte of MaxRdTurn field of GETMXDS CCC format 2 with turnaround.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR RDTURN LL_I3C_SetMiddleByteTurnAround
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
middle_byte_turn_around – This parameter must be a value between Min_Data=0 and Max_Data=0xF.
-
uint32_t
LL_I3C_GetMiddleByteTurnAround
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the value of middle byte of MaxRdTurn field of GETMXDS CCC format 2 with turnaround.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR RDTURN LL_I3C_GetMiddleByteTurnAround
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xF.
-
void
LL_I3C_SetDataTurnAroundTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data_turn_around_time
)
-
Configure clock-to-data turnaround time.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR TSCO LL_I3C_SetDataTurnAroundTime
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
data_turn_around_time – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDataTurnAroundTime
(
const
I3C_TypeDef
*
p_i3c
)
-
Get clock-to-data turnaround time.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR TSCO LL_I3C_GetDataTurnAroundTime
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMIPIInstanceID
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mipi_instance_id
)
-
Configure the MIPI Instance ID.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR MIPIID LL_I3C_SetMIPIInstanceID
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
mipi_instance_id – This parameter must be a value between Min_Data=0 and Max_Data=0xF.
-
uint32_t
LL_I3C_GetMIPIInstanceID
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the MIPI Instance ID.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR MIPIID LL_I3C_GetMIPIInstanceID
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xF.
-
uint32_t
LL_I3C_GetIDTypeSelector
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the ID type selector.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR IDTSEL LL_I3C_GetIDTypeSelector
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0x0 and Max_Data=0x1
-
uint32_t
LL_I3C_GetMIPIManufacturerID
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the MIPI Manufacturer ID.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR MIPIMID LL_I3C_GetMIPIManufacturerID
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x7FFF.
Functions
-
void
LL_I3C_RequestRxFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a reception data FIFO flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXFLUSH LL_I3C_RequestRxFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_RequestTxFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a transmission data FIFO Flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXFLUSH LL_I3C_RequestTxFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_RequestStatusFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a status data FIFO Flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SFLUSH LL_I3C_RequestStatusFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_SetEndOfFrameMode
(
I3C_TypeDef
*
p_i3c
,
uint32_t
eof_frame_config
)
-
Set End of Frame mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR FCFDIS LL_I3C_SetEndOfFrameMode
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
eof_frame_config – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetEndOfFrameMode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get End of Frame mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR FCFDIS LL_I3C_GetEndOfFrameMode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetActivityState
(
const
I3C_TypeDef
*
p_i3c
)
-
Get activity state of controller on the I3C Bus (target only).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 AS LL_I3C_GetActivityState
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetResetAction
(
const
I3C_TypeDef
*
p_i3c
)
-
Get reset action (target only).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 RSTACT LL_I3C_GetResetAction
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_RequestControlFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a control word FIFO Flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CFLUSH LL_I3C_RequestControlFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_RequestFifosFlush
(
I3C_TypeDef
*
p_i3c
,
uint32_t
flush_mask
)
-
Request a combined flush of selected FIFOs (TX / RX / Status / Control).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXFLUSH LL_I3C_RequestFifosFlush
CFGR RXFLUSH LL_I3C_RequestFifosFlush
CFGR SFLUSH LL_I3C_RequestFifosFlush
CFGR CFLUSH LL_I3C_RequestFifosFlush
Note
Each bit is auto cleared by hardware after the flush completes.
- Parameters :
-
p_i3c – I3C instance.
flush_mask – this parameter is a combination of the following values: I3C_CFGR_TXFLUSH (TX FIFO) I3C_CFGR_RXFLUSH (RX FIFO) I3C_CFGR_SFLUSH (Status FIFO) I3C_CFGR_CFLUSH (Control FIFO)
-
void
LL_I3C_RequestTransfer
(
I3C_TypeDef
*
p_i3c
)
-
Request a Transfer start.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TSFSET LL_I3C_RequestTransfer
Note
After request, the current instruction in control Register is executed on I3C Bus.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ControllerHandleMessage
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tgt_addr
,
uint32_t
xfer_size
,
uint32_t
direction
,
uint32_t
msg_type
,
uint32_t
end_mode
)
-
Handles I3C message content on the I3C Bus as controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR ADD LL_I3C_ControllerHandleMessage
CR DCNT LL_I3C_ControllerHandleMessage
CR RNW LL_I3C_ControllerHandleMessage
CR MTYPE LL_I3C_ControllerHandleMessage
CR MEND LL_I3C_ControllerHandleMessage
- Parameters :
-
p_i3c – I3C Instance.
tgt_addr – Specifies the target address to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
xfer_size – Specifies the number of bytes to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=65535.
direction – This parameter can be one of the following values:
msg_type – This parameter can be one of the following values:
end_mode – This parameter can be one of the following values:
-
void
LL_I3C_ControllerHeaderStop
(
I3C_TypeDef
*
p_i3c
)
-
Issue a header message followed by STOP (no data, no address field).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR MTYPE LL_I3C_ControllerHeaderStop
CR MEND LL_I3C_ControllerHeaderStop
Note
Only header (7’h7E arbitration) then STOP. Use when control FIFO disabled and a pure header cycle is required (e.g. bus idle insertion).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ControllerReleaseStop
(
I3C_TypeDef
*
p_i3c
)
-
Issue a RELEASE message followed by STOP (no data, no address field).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR MTYPE LL_I3C_ControllerReleaseStop
CR MEND LL_I3C_ControllerReleaseStop
Note
RELEASE stops SCL until next instruction; then STOP is generated.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ControllerHandleCCC
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ccc_value
,
uint32_t
add_byte_size
,
uint32_t
end_mode
)
-
Handles I3C Common command Code content on the I3C Bus as controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CCC LL_I3C_ControllerHandleCCC
CR DCNT LL_I3C_ControllerHandleCCC
CR MTYPE LL_I3C_ControllerHandleCCC
CR MEND LL_I3C_ControllerHandleCCC
- Parameters :
-
p_i3c – I3C Instance.
ccc_value – Specifies the command Code to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=0x1FF.
add_byte_size – Specifies the number of CCC additional bytes to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=65535.
end_mode – This parameter can be one of the following values:
-
void
LL_I3C_TargetHandleMessage
(
I3C_TypeDef
*
p_i3c
,
uint32_t
msg_type
,
uint32_t
ibi_size_byte
)
-
Handles I3C message content on the I3C Bus as target.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR MTYPE LL_I3C_TargetHandleMessage
CR DCNT LL_I3C_TargetHandleMessage
- Parameters :
-
p_i3c – I3C Instance.
msg_type – This parameter can be one of the following values:
ibi_size_byte – Specifies the number of IBI bytes. This parameter must be a value between Min_Data=0 and Max_Data=65535.
Functions
-
uint8_t
LL_I3C_ReceiveData8
(
const
I3C_TypeDef
*
p_i3c
)
-
Read receive data byte register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RDR RDB0 LL_I3C_ReceiveData8
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFF
-
void
LL_I3C_TransmitData8
(
I3C_TypeDef
*
p_i3c
,
uint8_t
data
)
-
Write in transmit data byte Register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TDR TDB0 LL_I3C_TransmitData8
- Parameters :
-
p_i3c – I3C Instance.
data – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_ReceiveData32
(
const
I3C_TypeDef
*
p_i3c
)
-
Read receive data word register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RDWR RDWR LL_I3C_ReceiveData32
Note
Content of register is filled in Little Endian. The MSB corresponds to the last data byte received, LSB corresponds to first data byte received.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFFFFFF
-
void
LL_I3C_TransmitData32
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data
)
-
Write in transmit data word register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TDWR TDWR LL_I3C_TransmitData32
Note
Content of register is filled in Little Endian. The MSB corresponds to the last data byte transmitted, LSB corresponds to first data byte transmitted.
- Parameters :
-
p_i3c – I3C Instance.
data – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF.
-
void
LL_I3C_WriteControlWord
(
I3C_TypeDef
*
p_i3c
,
uint32_t
control_word
)
-
Write a single control word to CR.
- Reference Manual to LL API cross reference (Register Field Functions) CR LL_I3C_WriteControlWord
-
Note
Use when control FIFO (TMODE) is disabled and one instruction must be issued.
- Parameters :
-
p_i3c – I3C Instance.
control_word – 32-bit control word (ADD/DCNT/RNW/MTYPE/MEND bits as needed).
-
void
LL_I3C_SetIBIPayload
(
I3C_TypeDef
*
p_i3c
,
uint32_t
own_ibi_payload
)
-
Configure the IBI data payload to be sent during IBI (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
IBIDR IBIDR LL_I3C_SetIBIPayload
Note
Content of register is filled in Little Endian. Mean MSB corresponds to last IBI data byte, LSB corresponds to first IBI data byte.
- Parameters :
-
p_i3c – I3C Instance.
own_ibi_payload – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF
-
uint32_t
LL_I3C_GetIBIPayload
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the own IBI data payload (target mode), or get the target IBI received (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
IBIDR IBIDR LL_I3C_GetIBIPayload
Note
Content of register is filled in Little Endian. Mean MSB corresponds to last IBI data byte, LSB corresponds to first IBI data byte.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFFFFFF
-
uint32_t
LL_I3C_GetNbIBIAddData
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the number of data bytes received when reading IBI data (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
RMR IBIRDCNT LL_I3C_GetNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0x7
-
uint32_t
LL_I3C_GetIBITargetAddr
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the target address received during accepted IBI or controller-role request.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RMR RADD LL_I3C_GetIBITargetAddr
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0x3F
-
void
LL_I3C_ConfigTxPreload
(
I3C_TypeDef
*
p_i3c
,
uint16_t
tx_data_count
)
-
Set TX FIFO Preload (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TGTTDR PRELOAD LL_I3C_ConfigTxPreload
TGTTDR TDCNT LL_I3C_ConfigTxPreload
Note
Set high by Software, cleared by hardware when all the bytes to transmit have been loaded to TX FIFO.
- Parameters :
-
p_i3c – I3C Instance.
tx_data_count – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFF
-
uint32_t
LL_I3C_IsActiveTxPreload
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of TX FIFO preload (target mode). RESET: no preload of TX FIFO. SET: preload of TX FIFO ongoing.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TGTTDR PRELOAD LL_I3C_IsActiveTxPreload
Note
Set high by Software, cleared by hardware when all the bytes to transmit have been loaded to TX FIFO.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint16_t
LL_I3C_GetTxPreloadDataCount
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the number of bytes to transmit (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TGTTDR TDCNT LL_I3C_GetTxPreloadDataCount
Note
The return value corresponds to the remaining number of bytes to load in TX FIFO.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFF
-
uint32_t
LL_I3C_GetXferDataCount
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the number of data during a transfer.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR XDCNT LL_I3C_GetXferDataCount
Note
The return value corresponds to number of transmitted bytes reported during Address Assignment process in target mode. The return value corresponds to number of target detected during address Assignment process in controller mode. The return value corresponds to number of data bytes read from or sent to the I3C bus during the message link to MID current value.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFF
-
uint32_t
LL_I3C_IsTargetAbortPrivateRead
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates if a target abort a private read command.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR ABT LL_I3C_IsTargetAbortPrivateRead
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_GetMessageDirection
(
const
I3C_TypeDef
*
p_i3c
)
-
Get direction of the message.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR DIR LL_I3C_GetMessageDirection
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetMessageIdentifier
(
const
I3C_TypeDef
*
p_i3c
)
-
Get message identifier.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR MID LL_I3C_GetMessageIdentifier
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFF, representing the internal hardware counter value.
-
uint32_t
LL_I3C_GetMessageErrorCode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get message error code.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER CODERR LL_I3C_GetMessageErrorCode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetReceiveCommandCode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get CCC code of received command.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RMR RCODE LL_I3C_GetReceiveCommandCode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFF.
Functions
-
void
LL_I3C_SetTargetDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
,
uint32_t
dynamic_addr
)
-
Set dynamic address assigned to target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_SetTargetDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
dynamic_addr – Value between Min_Data=0 to Max_Data=0x7F
-
uint32_t
LL_I3C_GetTargetDynamicAddress
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Get dynamic address assigned to target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_GetTargetDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
Value – between Min_Data=0 to Max_Data=0x7F
-
void
LL_I3C_EnableTargetIBIAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable IBI acknowledgement from target x(controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIACK LL_I3C_EnableTargetIBIAck
Note
The bit DIS is automatically set when CRACK or IBIACK are set. This means DEVRX register access is not allowed. Reset CRACK and IBIACK will reset DIS bit.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableTargetIBIAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable IBI acknowledgement from target x (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIACK LL_I3C_DisableTargetIBIAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsEnabledTargetIBIAck
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if IBI from target x will be Acknowledged or not Acknowledged (controller mode). RESET: IBI not Acknowledged. SET: IBI Acknowledged.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIACK LL_I3C_IsEnabledTargetIBIAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableTargetCRAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable controller-role request acknowledgement from target x(controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX CRACK LL_I3C_EnableTargetCRAck
Note
The bit DIS is automatically set when CRACK or IBIACK are set. This means DEVRX register access is not allowed. Reset CRACK and IBIACK will reset DIS bit.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableTargetCRAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable controller-role request acknowledgement from target x (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX CRACK LL_I3C_DisableTargetCRAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsEnabledTargetCRAck
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if controller-role request from target x will be Acknowledged or not Acknowledged (controller mode). RESET: controller-role request not Acknowledged. SET: controller-role request Acknowledged.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX CRACK LL_I3C_IsEnabledTargetCRAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable additional Mandatory data Byte (MDB) follows the accepted IBI from target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIDEN LL_I3C_EnableIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable additional Mandatory data Byte (MDB) follows the accepted IBI from target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIDEN LL_I3C_DisableIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsEnabledIBIAddData
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if additional Mandatory data Byte (MDB) follows the accepted IBI from target x. RESET: no Mandatory data Byte follows IBI. SET: mandatory data Byte follows IBI.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIDEN LL_I3C_IsEnabledIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableFrameSuspend
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable Suspension of Current transfer during IBI treatment.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX SUSP LL_I3C_EnableFrameSuspend
Note
When set, this feature will allow controller to send a stop condition and CR FIFO is flushed after IBI treatment. Software has to rewrite instructions in control Register to start a new transfer.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableFrameSuspend
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable Suspension of Current transfer during IBI treatment.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX SUSP LL_I3C_DisableFrameSuspend
Note
When set, this feature will allow controller to continue CR FIFO treatment after IBI treatment.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsFrameMustBeSuspended
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if I3C transfer must be Suspended or not Suspended during IBI treatment from target x. RESET: transfer is not suspended. Instruction in CR FIFO are executed after IBI. SET: transfer is suspended (a stop condition is sent). CR FIFO is flushed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX SUSP LL_I3C_IsFrameMustBeSuspended
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsAllowedPayloadUpdate
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if update of the device Characteristics Register is Allowed or not Allowed. RESET: device Characteristics Register update is not Allowed. SET: device Characteristics Register update is Allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DIS LL_I3C_IsAllowedPayloadUpdate
Note
Used to prevent software writing during reception of an IBI or controller-role request from target x.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ConfigDeviceCapabilities
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
,
uint32_t
dynamic_addr
,
uint32_t
IBIAck
,
uint32_t
IBIAddData
,
uint32_t
CRAck
)
-
Set I3C bus devices configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_ConfigDeviceCapabilities
DEVRX IBIACK LL_I3C_ConfigDeviceCapabilities
DEVRX IBIDEN LL_I3C_ConfigDeviceCapabilities
DEVRX CRACK LL_I3C_ConfigDeviceCapabilities
Note
This function is called only when the I3C instance is initialized as controller. This function can be called by the controller application to help the automatic treatment when target have capability of IBI and/or control-Role.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
dynamic_addr – Value between Min_Data=0 to Max_Data=0x7F
IBIAck – Value This parameter can be one of the following values:
IBIAddData – This parameter can be one of the following values:
CRAck – This parameter can be one of the following values:
-
void
LL_I3C_SetDevrx
(
I3C_TypeDef
*
p_i3c
,
uint32_t
devrx_index
,
uint32_t
dynamic_addr
,
uint32_t
IBIAck
,
uint32_t
Susp
,
uint32_t
IBIAddData
,
uint32_t
CRAck
)
-
Set DEVRx.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_SetDevrx
DEVRX IBIACK LL_I3C_SetDevrx
DEVRX IBIDEN LL_I3C_SetDevrx
DEVRX SUSP LL_I3C_SetDevrx
DEVRX CRACK LL_I3C_SetDevrx
Note
This function is called only when the I3C instance is initialized as controller. This function can be called by the controller application to help the automatic treatment when target have capability of IBI and/or control-Role.
- Parameters :
-
p_i3c – I3C Instance.
devrx_index – This parameter must be a value between Min_Data=0 and Max_Data=4
dynamic_addr – Value between Min_Data=0 to Max_Data=0x7F
IBIAck – Value This parameter can be one of the following values:
Susp – This parameter can be one of the following values:
IBIAddData – This parameter can be one of the following values:
CRAck – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDevrx
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
devrx_index
)
-
Get DEVRx raw register value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_GetDevrx
DEVRX IBIACK LL_I3C_GetDevrx
DEVRX IBIDEN LL_I3C_GetDevrx
DEVRX SUSP LL_I3C_GetDevrx
DEVRX CRACK LL_I3C_GetDevrx
- Parameters :
-
p_i3c – I3C Instance.
devrx_index – This parameter must be a value between Min_Data=0 and Max_Data=4
- Return values :
-
Raw – 32-bit value of DEVRX[devrx_index].
Functions
-
uint32_t
LL_I3C_IsActiveFlag
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
flags
)
-
Check if one of the flags is active.
- Reference Manual to LL API cross reference (Register Field Functions) EVR LL_I3C_IsActiveFlag
-
- Parameters :
-
p_i3c – I3C Instance.
flags – I3C_LL_EC_GET_FLAG.
- Return values :
-
0 – no flag is set
1 – at least one of the flags is set
-
uint32_t
LL_I3C_IsActiveFlag_CFE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of control FIFO empty flag. RESET: one or more data are available in control FIFO. SET: no more data available in control FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR CFEF LL_I3C_IsActiveFlag_CFE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_TXFE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of transmit FIFO empty flag. RESET: one or more data are available in transmit FIFO. SET: no more data available in transmit FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR TXFEF LL_I3C_IsActiveFlag_TXFE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of control FIFO not full flag. RESET: one or more free space available in control FIFO. SET: no more free space available in control FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR CFNFF LL_I3C_IsActiveFlag_CFNF
Note
When a transfer is ongoing, the control FIFO must not be written unless this flag is set.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_SFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of status FIFO not empty flag. RESET: one or more free space available in status FIFO. SET: no more free space available in status FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR SFNEF LL_I3C_IsActiveFlag_SFNE
Note
This flag is updated only when the FIFO is used, mean SMODE = 1.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_TXFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of transmit FIFO not full flag. RESET: one or more free space available in transmit FIFO. SET: no more free space available in transmit FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR TXFNFF LL_I3C_IsActiveFlag_TXFNF
Note
When a transfer is ongoing, the transmit FIFO must not be written unless this flag is set.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RXFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of receive FIFO not full flag. RESET: one or more data are available in receive FIFO. SET: no more data available in receive FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RXFNEF LL_I3C_IsActiveFlag_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RXLAST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates that the last receive byte is available. RESET: clear default value. SET: last receive byte ready to read from receive FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RXLASTF LL_I3C_IsActiveFlag_RXLAST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_TXLAST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates that the last transmit byte is written in FIFO. RESET: transmission is not finalized. SET: last transmit byte is written in transmit FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR TXLASTF LL_I3C_IsActiveFlag_TXLAST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_FC
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of Frame Complete flag (controller and target mode). RESET: current Frame transfer is not finalized. SET: current Frame transfer is completed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR FCF LL_I3C_IsActiveFlag_FC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RXTGTEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of reception target end flag (controller mode). RESET: clear default value. SET: target prematurely ended a read command.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RXTGTENDF LL_I3C_IsActiveFlag_RXTGTEND
Note
This flag is set only when status FIFO is not used, mean SMODE = 0.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_ERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of error flag (controller and target mode). RESET: clear default value. SET: One or more Errors are detected.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR ERRF LL_I3C_IsActiveFlag_ERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_IBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of IBI flag (controller mode). RESET: clear default value. SET: An IBI has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR IBIF LL_I3C_IsActiveFlag_IBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_IBIEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of IBI end flag (target mode). RESET: clear default value. SET: IBI procedure is finished.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR IBIENDF LL_I3C_IsActiveFlag_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_CR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of controller-role request flag (controller mode). RESET: clear default value. SET: a controller-role request procedure has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR CRF LL_I3C_IsActiveFlag_CR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_CRUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of controller-role request update flag (target mode). RESET: clear default value. SET: I3C device has gained controller-role of the I3C Bus.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR BCUPDF LL_I3C_IsActiveFlag_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_HJ
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of Hot-Join flag (controller mode). RESET: clear default value. SET: a Hot-Join request has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR HJF LL_I3C_IsActiveFlag_HJ
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_WKP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of wakeup flag (target mode). RESET: clear default value. SET: I3C Internal clock not available on time to treat the falling edge on SCL.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR WKPF LL_I3C_IsActiveFlag_WKP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_GET
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of get flag (target mode). RESET: clear default value. SET: a “get” type CCC has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR GETF LL_I3C_IsActiveFlag_GET
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_STA
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of get status flag (target mode). RESET: clear default value. SET: a GETSTATUS command has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR STAF LL_I3C_IsActiveFlag_STA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DAUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of dynamic address update flag (target mode). RESET: clear default value. SET: own dynamic address has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR DAUPDF LL_I3C_IsActiveFlag_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_MWLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of max write length flag (target mode). RESET: clear default value. SET: max write length has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR MWLUPDF LL_I3C_IsActiveFlag_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_MRLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of max read length flag (target mode). RESET: clear default value. SET: max read length has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR MRLUPDF LL_I3C_IsActiveFlag_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of reset flag (target mode). RESET: clear default value. SET: a reset pattern has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RSTF LL_I3C_IsActiveFlag_RST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_ASUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of active state flag (target mode). RESET: clear default value. SET: the activity state has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR ASUPDF LL_I3C_IsActiveFlag_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_INTUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of interrupt update flag (target mode). RESET: clear default value. SET: One or more authorized interrupts have been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR INTUPDF LL_I3C_IsActiveFlag_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DEF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of define list targets flag (target mode). RESET: clear default value. SET: a define list targets command has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR DEFF LL_I3C_IsActiveFlag_DEF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_GRP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of define list Group addresses flag. RESET: clear default value. SET: define list Group addresses have been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR GRPF LL_I3C_IsActiveFlag_GRP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_PERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of Protocol error flag. RESET: clear default value. SET: protocol error detected.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER PERR LL_I3C_IsActiveFlag_PERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_STALL
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of SCL Stall error flag (target mode). RESET: clear default value. SET: target detected that SCL was stable for more than 125us during I3C SDR read.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER STALL LL_I3C_IsActiveFlag_STALL
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DOVR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of RX or TX FIFO Overrun flag. RESET: clear default value. SET: RX FIFO full or TX FIFO empty depending of direction of message.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER DOVR LL_I3C_IsActiveFlag_DOVR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_COVR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of control or status FIFO Overrun flag (controller mode). RESET: clear default value. SET: status FIFO full or control FIFO empty after Restart.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER COVR LL_I3C_IsActiveFlag_COVR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_ANACK
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of address not acknowledged flag (controller mode). RESET: clear default value. SET: controller detected that target NACKed static or dynamic address.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER ANACK LL_I3C_IsActiveFlag_ANACK
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DNACK
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of data not acknowledged flag (controller mode). RESET: clear default value. SET: controller detected that target NACKed data byte.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER DNACK LL_I3C_IsActiveFlag_DNACK
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of data error flag (controller mode). RESET: clear default value. SET: controller detected data error during controller-role handoff process.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER DERR LL_I3C_IsActiveFlag_DERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ClearFlag_FC
(
I3C_TypeDef
*
p_i3c
)
-
Clear Frame Complete flag (controller and target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CFCF LL_I3C_ClearFlag_FC
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_RXTGTEND
(
I3C_TypeDef
*
p_i3c
)
-
Clear reception target end flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CRXTGTENDF LL_I3C_ClearFlag_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_ERR
(
I3C_TypeDef
*
p_i3c
)
-
Clear error flag (controller and target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CERRF LL_I3C_ClearFlag_ERR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_IBI
(
I3C_TypeDef
*
p_i3c
)
-
Clear IBI flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CIBIF LL_I3C_ClearFlag_IBI
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_IBIEND
(
I3C_TypeDef
*
p_i3c
)
-
Clear IBI end flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CIBIENDF LL_I3C_ClearFlag_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_CR
(
I3C_TypeDef
*
p_i3c
)
-
Clear controller-role request flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CCRF LL_I3C_ClearFlag_CR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_CRUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear controller-role request update flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CCRUPDF LL_I3C_ClearFlag_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_HJ
(
I3C_TypeDef
*
p_i3c
)
-
Clear Hot-Join flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CHJF LL_I3C_ClearFlag_HJ
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_WKP
(
I3C_TypeDef
*
p_i3c
)
-
Clear wakeup flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CWKPF LL_I3C_ClearFlag_WKP
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_GET
(
I3C_TypeDef
*
p_i3c
)
-
Clear get flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CGETF LL_I3C_ClearFlag_GET
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_STA
(
I3C_TypeDef
*
p_i3c
)
-
Clear get status flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CSTAF LL_I3C_ClearFlag_STA
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_DAUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear dynamic address update flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CDAUPDF LL_I3C_ClearFlag_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_MWLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear max write length flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CMWLUPDF LL_I3C_ClearFlag_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_MRLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear max read length flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CMRLUPDF LL_I3C_ClearFlag_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_RST
(
I3C_TypeDef
*
p_i3c
)
-
Clear reset flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CRSTF LL_I3C_ClearFlag_RST
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_ASUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear active state flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CASUPDF LL_I3C_ClearFlag_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_INTUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear interrupt update flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CINTUPDF LL_I3C_ClearFlag_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_DEF
(
I3C_TypeDef
*
p_i3c
)
-
Clear define list targets flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CDEFF LL_I3C_ClearFlag_DEF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_GRP
(
I3C_TypeDef
*
p_i3c
)
-
Clear define list Group addresses flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CGRPF LL_I3C_ClearFlag_GRP
- Parameters :
-
p_i3c – I3C Instance.
Functions
-
void
LL_I3C_EnableIT
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
-
Enable the specified I3C interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_EnableIT
IER SFNEIE LL_I3C_EnableIT
IER TXFNFIE LL_I3C_EnableIT
IER RXFNEIE LL_I3C_EnableIT
IER FCIE LL_I3C_EnableIT
IER RXTGTENDIE LL_I3C_EnableIT
IER ERRIE LL_I3C_EnableIT
IER IBIIE LL_I3C_EnableIT
IER IBIENDIE LL_I3C_EnableIT
IER CRIE LL_I3C_EnableIT
IER CRUPDIE LL_I3C_EnableIT
IER HJIE LL_I3C_EnableIT
IER WKPIE LL_I3C_EnableIT
IER GETIE LL_I3C_EnableIT
IER STAIE LL_I3C_EnableIT
IER DAUPDIE LL_I3C_EnableIT
IER MWLUPDIE LL_I3C_EnableIT
IER MRLUPDIE LL_I3C_EnableIT
IER RSTIE LL_I3C_EnableIT
IER ASUPDIE LL_I3C_EnableIT
IER INTUPDIE LL_I3C_EnableIT
IER DEFIE LL_I3C_EnableIT
IER GRPIE LL_I3C_EnableIT
- Parameters :
-
p_i3c – I3C instance.
mask – interrupt sources to enable. This parameter can be a combination of the following values:
-
void
LL_I3C_DisableIT
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
-
Disable the specified I3C interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_DisableIT
IER SFNEIE LL_I3C_DisableIT
IER TXFNFIE LL_I3C_DisableIT
IER RXFNEIE LL_I3C_DisableIT
IER FCIE LL_I3C_DisableIT
IER RXTGTENDIE LL_I3C_DisableIT
IER ERRIE LL_I3C_DisableIT
IER IBIIE LL_I3C_DisableIT
IER IBIENDIE LL_I3C_DisableIT
IER CRIE LL_I3C_DisableIT
IER CRUPDIE LL_I3C_DisableIT
IER HJIE LL_I3C_DisableIT
IER WKPIE LL_I3C_DisableIT
IER GETIE LL_I3C_DisableIT
IER STAIE LL_I3C_DisableIT
IER DAUPDIE LL_I3C_DisableIT
IER MWLUPDIE LL_I3C_DisableIT
IER MRLUPDIE LL_I3C_DisableIT
IER RSTIE LL_I3C_DisableIT
IER ASUPDIE LL_I3C_DisableIT
IER INTUPDIE LL_I3C_DisableIT
IER DEFIE LL_I3C_DisableIT
IER GRPIE LL_I3C_DisableIT
- Parameters :
-
p_i3c – I3C instance.
mask – interrupt sources to disable. This parameter can be a combination of the following values:
-
uint32_t
LL_I3C_IsEnabledIT
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
-
Check whether the specified I3C interrupts sources are enabled or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_IsEnabledIT
IER SFNEIE LL_I3C_IsEnabledIT
IER TXFNFIE LL_I3C_IsEnabledIT
IER RXFNEIE LL_I3C_IsEnabledIT
IER FCIE LL_I3C_IsEnabledIT
IER RXTGTENDIE LL_I3C_IsEnabledIT
IER ERRIE LL_I3C_IsEnabledIT
IER IBIIE LL_I3C_IsEnabledIT
IER IBIENDIE LL_I3C_IsEnabledIT
IER CRIE LL_I3C_IsEnabledIT
IER CRUPDIE LL_I3C_IsEnabledIT
IER HJIE LL_I3C_IsEnabledIT
IER WKPIE LL_I3C_IsEnabledIT
IER GETIE LL_I3C_IsEnabledIT
IER STAIE LL_I3C_IsEnabledIT
IER DAUPDIE LL_I3C_IsEnabledIT
IER MWLUPDIE LL_I3C_IsEnabledIT
IER MRLUPDIE LL_I3C_IsEnabledIT
IER RSTIE LL_I3C_IsEnabledIT
IER ASUPDIE LL_I3C_IsEnabledIT
IER INTUPDIE LL_I3C_IsEnabledIT
IER DEFIE LL_I3C_IsEnabledIT
IER GRPIE LL_I3C_IsEnabledIT
- Parameters :
-
p_i3c – I3C instance.
mask – Interrupts sources to check. This parameter can be a combination of the following values:
- Return values :
-
State – of interrupts sources (1 or 0).
-
void
LL_I3C_EnableIT_CFNF
(
I3C_TypeDef
*
p_i3c
)
-
Enable control FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_EnableIT_CFNF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_CFNF
(
I3C_TypeDef
*
p_i3c
)
-
Disable control FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_DisableIT_CFNF
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if control FIFO not full interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_IsEnabledIT_CFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_SFNE
(
I3C_TypeDef
*
p_i3c
)
-
Enable status FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER SFNEIE LL_I3C_EnableIT_SFNE
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_SFNE
(
I3C_TypeDef
*
p_i3c
)
-
Disable status FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER SFNEIE LL_I3C_DisableIT_SFNE
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_SFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if status FIFO not empty interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER SFNEIE LL_I3C_IsEnabledIT_SFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_TXFNF
(
I3C_TypeDef
*
p_i3c
)
-
Enable transmit FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER TXFNFIE LL_I3C_EnableIT_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_TXFNF
(
I3C_TypeDef
*
p_i3c
)
-
Disable transmit FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER TXFNFIE LL_I3C_DisableIT_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_TXFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if transmit FIFO not full interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER TXFNFIE LL_I3C_IsEnabledIT_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_RXFNE
(
I3C_TypeDef
*
p_i3c
)
-
Enable receive FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXFNEIE LL_I3C_EnableIT_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_RXFNE
(
I3C_TypeDef
*
p_i3c
)
-
Disable receive FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXFNEIE LL_I3C_DisableIT_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_RXFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if receive FIFO not empty interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXFNEIE LL_I3C_IsEnabledIT_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_FC
(
I3C_TypeDef
*
p_i3c
)
-
Enable Frame Complete interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER FCIE LL_I3C_EnableIT_FC
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_FC
(
I3C_TypeDef
*
p_i3c
)
-
Disable Frame Complete interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER FCIE LL_I3C_DisableIT_FC
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_FC
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Frame Complete interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER FCIE LL_I3C_IsEnabledIT_FC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_RXTGTEND
(
I3C_TypeDef
*
p_i3c
)
-
Enable reception target End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXTGTENDIE LL_I3C_EnableIT_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_RXTGTEND
(
I3C_TypeDef
*
p_i3c
)
-
Disable reception target End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXTGTENDIE LL_I3C_DisableIT_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_RXTGTEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reception target End interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXTGTENDIE LL_I3C_IsEnabledIT_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_ERR
(
I3C_TypeDef
*
p_i3c
)
-
Enable error interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ERRIE LL_I3C_EnableIT_ERR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_ERR
(
I3C_TypeDef
*
p_i3c
)
-
Disable error interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ERRIE LL_I3C_DisableIT_ERR
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_ERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if error interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ERRIE LL_I3C_IsEnabledIT_ERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_IBI
(
I3C_TypeDef
*
p_i3c
)
-
Enable IBI interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIIE LL_I3C_EnableIT_IBI
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_IBI
(
I3C_TypeDef
*
p_i3c
)
-
Disable IBI interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIIE LL_I3C_DisableIT_IBI
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_IBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if IBI interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIIE LL_I3C_IsEnabledIT_IBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_IBIEND
(
I3C_TypeDef
*
p_i3c
)
-
Enable IBI End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIENDIE LL_I3C_EnableIT_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_IBIEND
(
I3C_TypeDef
*
p_i3c
)
-
Disable IBI End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIENDIE LL_I3C_DisableIT_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_IBIEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if IBI End interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIENDIE LL_I3C_IsEnabledIT_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_CR
(
I3C_TypeDef
*
p_i3c
)
-
Enable controller-role interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRIE LL_I3C_EnableIT_CR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_CR
(
I3C_TypeDef
*
p_i3c
)
-
Disable controller-role interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRIE LL_I3C_DisableIT_CR
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_CR
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if controller-role interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRIE LL_I3C_IsEnabledIT_CR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_CRUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable controller-role update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRUPDIE LL_I3C_EnableIT_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_CRUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable controller-role update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRUPDIE LL_I3C_DisableIT_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_CRUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if controller-role update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRUPDIE LL_I3C_IsEnabledIT_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_HJ
(
I3C_TypeDef
*
p_i3c
)
-
Enable Hot-Join interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER HJIE LL_I3C_EnableIT_HJ
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_HJ
(
I3C_TypeDef
*
p_i3c
)
-
Disable Hot-Join interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER HJIE LL_I3C_DisableIT_HJ
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_HJ
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Hot-Join interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER HJIE LL_I3C_IsEnabledIT_HJ
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_WKP
(
I3C_TypeDef
*
p_i3c
)
-
Enable wake up interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER WKPIE LL_I3C_EnableIT_WKP
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_WKP
(
I3C_TypeDef
*
p_i3c
)
-
Disable wake up interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER WKPIE LL_I3C_DisableIT_WKP
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_WKP
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if wakeup is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER WKPIE LL_I3C_IsEnabledIT_WKP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_GET
(
I3C_TypeDef
*
p_i3c
)
-
Enable get command interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GETIE LL_I3C_EnableIT_GET
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_GET
(
I3C_TypeDef
*
p_i3c
)
-
Disable get command interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GETIE LL_I3C_DisableIT_GET
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_GET
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if get command is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GETIE LL_I3C_IsEnabledIT_GET
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_STA
(
I3C_TypeDef
*
p_i3c
)
-
Enable get status interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER STAIE LL_I3C_EnableIT_STA
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_STA
(
I3C_TypeDef
*
p_i3c
)
-
Disable get status interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER STAIE LL_I3C_DisableIT_STA
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_STA
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if get status interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER STAIE LL_I3C_IsEnabledIT_STA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_DAUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable dynamic address update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DAUPDIE LL_I3C_EnableIT_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_DAUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable dynamic address update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DAUPDIE LL_I3C_DisableIT_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_DAUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if dynamic address update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DAUPDIE LL_I3C_IsEnabledIT_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_MWLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable max write length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MWLUPDIE LL_I3C_EnableIT_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_MWLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable max write length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MWLUPDIE LL_I3C_DisableIT_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_MWLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if max write length update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MWLUPDIE LL_I3C_IsEnabledIT_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_MRLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable max read length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MRLUPDIE LL_I3C_EnableIT_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_MRLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable max read length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MRLUPDIE LL_I3C_DisableIT_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_MRLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if max read length update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MRLUPDIE LL_I3C_IsEnabledIT_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_RST
(
I3C_TypeDef
*
p_i3c
)
-
Enable reset interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RSTIE LL_I3C_EnableIT_RST
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_RST
(
I3C_TypeDef
*
p_i3c
)
-
Disable reset interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RSTIE LL_I3C_DisableIT_RST
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_RST
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reset interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RSTIE LL_I3C_IsEnabledIT_RST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_ASUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable activity state update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ASUPDIE LL_I3C_EnableIT_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_ASUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable activity state update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ASUPDIE LL_I3C_DisableIT_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_ASUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if activity state update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ASUPDIE LL_I3C_IsEnabledIT_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_INTUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable interrupt update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER INTUPDIE LL_I3C_EnableIT_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_INTUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable interrupt update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER INTUPDIE LL_I3C_DisableIT_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_INTUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if interrupt update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER INTUPDIE LL_I3C_IsEnabledIT_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_DEF
(
I3C_TypeDef
*
p_i3c
)
-
Enable define list target interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DEFIE LL_I3C_EnableIT_DEF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_DEF
(
I3C_TypeDef
*
p_i3c
)
-
Disable define list target interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DEFIE LL_I3C_DisableIT_DEF
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_DEF
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if define list target interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DEFIE LL_I3C_IsEnabledIT_DEF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_GRP
(
I3C_TypeDef
*
p_i3c
)
-
Enable define list Group addresses interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GRPIE LL_I3C_EnableIT_GRP
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_GRP
(
I3C_TypeDef
*
p_i3c
)
-
Disable define list Group addresses interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GRPIE LL_I3C_DisableIT_GRP
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_GRP
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if define list Group addresses interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GRPIE LL_I3C_IsEnabledIT_GRP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
Functions
-
uint32_t
LL_I3C_IsActiveMaskFlag_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt control FIFO not full flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR CFNFMIS LL_I3C_IsActiveMaskFlag_CFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_SFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt status FIFO not empty flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR SFNEMIS LL_I3C_IsActiveMaskFlag_SFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_TXFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt transmit FIFO not full flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR TXFNFMIS LL_I3C_IsActiveMaskFlag_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_RXFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt receive FIFO not empty flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR RXFNEMIS LL_I3C_IsActiveMaskFlag_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_FC
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt Frame Complete flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR FCMIS LL_I3C_IsActiveMaskFlag_FC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_RXTGTEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt reception target end flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR RXTGTENDMIS LL_I3C_IsActiveMaskFlag_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_ERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt error flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR ERRMIS LL_I3C_IsActiveMaskFlag_ERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_IBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt IBI flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR IBIMIS LL_I3C_IsActiveMaskFlag_IBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_IBIEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt IBI end flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR IBIENDMIS LL_I3C_IsActiveMaskFlag_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_CR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt controller-role flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR CRMIS LL_I3C_IsActiveMaskFlag_CR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_CRUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt controller-role update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR CRUPDMIS LL_I3C_IsActiveMaskFlag_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_HJ
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt Hot-Join flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR HJMIS LL_I3C_IsActiveMaskFlag_HJ
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_WKP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt wakeup is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR WKPMIS LL_I3C_IsActiveMaskFlag_WKP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_GET
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt get command is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR GETMIS LL_I3C_IsActiveMaskFlag_GET
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_STA
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt get status flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR STAMIS LL_I3C_IsActiveMaskFlag_STA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_DAUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt dynamic address update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR DAUPDMIS LL_I3C_IsActiveMaskFlag_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_MWLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt max write length update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR MWLUPDMIS LL_I3C_IsActiveMaskFlag_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_MRLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt max read length update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR MRLUPDMIS LL_I3C_IsActiveMaskFlag_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_RST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt reset flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR RSTMIS LL_I3C_IsActiveMaskFlag_RST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_ASUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt activity state update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR ASUPDMIS LL_I3C_IsActiveMaskFlag_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_INTUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR INTUPDMIS LL_I3C_IsActiveMaskFlag_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_DEF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt define list target flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR DEFMIS LL_I3C_IsActiveMaskFlag_DEF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_GRP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt define list Group addresses flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR GRPMIS LL_I3C_IsActiveMaskFlag_GRP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_Enable
(
I3C_TypeDef
*
p_i3c
)
- group I3C_LL_Exported_Functions
-
Functions
-
void
LL_I3C_Enable
(
I3C_TypeDef
*
p_i3c
)
-
Enable I3C peripheral (EN = 1).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EN LL_I3C_Enable
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_Disable
(
I3C_TypeDef
*
p_i3c
)
-
Disable I3C peripheral (EN = 0).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EN LL_I3C_Disable
Note
Controller mode: before clearing EN, all possible target requests must be disabled using DISEC CCC. Target mode: software is not expected clearing EN unless a partial reset of the IP is needed
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabled
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the I3C peripheral is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EN LL_I3C_IsEnabled
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_GetRegister_CFGR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw CFGR register value.
- Reference Manual to LL API cross reference (Register Field Functions) CFGR * LL_I3C_GetRegister_CFGR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – CFGR register content.
-
uint32_t
LL_I3C_GetEnabledIT
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw IER register value.
- Reference Manual to LL API cross reference (Register Field Functions) IER * LL_I3C_GetEnabledIT
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – IER register content.
-
uint32_t
LL_I3C_GetFlag
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
flags
)
-
Return masked EVR flags state.
- Reference Manual to LL API cross reference (Register Field Functions) EVR * LL_I3C_GetFlag
-
- Parameters :
-
p_i3c – I3C Instance.
flags – Mask of EVR bits to check (OR-combination of EVR flags).
- Return values :
-
Masked – EVR value (non-zero bits indicate set flags).
-
uint32_t
LL_I3C_GetRegister_GETMXDSR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw GETMXDSR register value.
- Reference Manual to LL API cross reference (Register Field Functions) GETMXDSR * LL_I3C_GetRegister_GETMXDSR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – GETMXDSR register content.
-
uint32_t
LL_I3C_GetRegister_MISR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw MISR register value.
- Reference Manual to LL API cross reference (Register Field Functions) MISR * LL_I3C_GetRegister_MISR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – MISR register content.
-
uint32_t
LL_I3C_GetRegister_BCR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw BCR register value.
- Reference Manual to LL API cross reference (Register Field Functions) BCR * LL_I3C_GetRegister_BCR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – BCR register content.
-
uint32_t
LL_I3C_GetRegister_SER
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw SER register value.
- Reference Manual to LL API cross reference (Register Field Functions) SER * LL_I3C_GetRegister_SER
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – SER register content.
-
uint32_t
LL_I3C_GetRegister_TIMINGR2
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw TIMINGR2 register value.
- Reference Manual to LL API cross reference (Register Field Functions) TIMINGR2 * LL_I3C_GetRegister_TIMINGR2
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – TIMINGR2 register content.
-
void
LL_I3C_SetRegister_CR
(
I3C_TypeDef
*
p_i3c
,
uint32_t
cr_value
)
-
Write raw value into CR register.
- Reference Manual to LL API cross reference (Register Field Functions) CR * LL_I3C_SetRegister_CR
-
- Parameters :
-
p_i3c – I3C Instance.
cr_value – 32-bit value to program in CR.
-
uint32_t
LL_I3C_IsEnabledReset
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reset action is required or not required.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 RSTVAL LL_I3C_IsEnabledReset
Note
This bit indicates if reset action field has been updated by HW upon reception of RSTACT during current frame.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetMode
(
I3C_TypeDef
*
p_i3c
,
uint32_t
peripheral_mode
)
-
Configure peripheral mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CRINIT LL_I3C_SetMode
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
peripheral_mode – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetMode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get peripheral mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CRINIT LL_I3C_GetMode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_EnableArbitrationHeader
(
I3C_TypeDef
*
p_i3c
)
-
An arbitration header (7’h7E) is sent after start in case of legacy I2C or I3C private transfers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR NOARBH LL_I3C_EnableArbitrationHeader
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableArbitrationHeader
(
I3C_TypeDef
*
p_i3c
)
-
Target address is sent directly after a start in case of legacy I2C or I3C private transfers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR NOARBH LL_I3C_DisableArbitrationHeader
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledArbitrationHeader
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the arbitration header is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR NOARBH LL_I3C_IsEnabledArbitrationHeader
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableResetPattern
(
I3C_TypeDef
*
p_i3c
)
-
A reset pattern is inserted before the STOP at the end of a frame when the last CCC of the frame was RSTACT CCC.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RSTPTRN LL_I3C_EnableResetPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableResetPattern
(
I3C_TypeDef
*
p_i3c
)
-
A single STOP is emitted at the end of a frame.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RSTPTRN LL_I3C_DisableResetPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledResetPattern
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reset pattern is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RSTPTRN LL_I3C_IsEnabledResetPattern
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableExitPattern
(
I3C_TypeDef
*
p_i3c
)
-
An exit pattern is sent after header (MTYPE = header) to program an escalation fault.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EXITPTRN LL_I3C_EnableExitPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableExitPattern
(
I3C_TypeDef
*
p_i3c
)
-
An exit pattern is not sent after header (MTYPE = header).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EXITPTRN LL_I3C_DisableExitPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledExitPattern
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if exit pattern is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EXITPTRN LL_I3C_IsEnabledExitPattern
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableHighKeeperSDA
(
I3C_TypeDef
*
p_i3c
)
-
High keeper is enabled and will be used in place of standard open drain pull up device during handoff procedures.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HKSDAEN LL_I3C_EnableHighKeeperSDA
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHighKeeperSDA
(
I3C_TypeDef
*
p_i3c
)
-
High keeper is disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HKSDAEN LL_I3C_DisableHighKeeperSDA
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHighKeeperSDA
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if High keeper is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HKSDAEN LL_I3C_IsEnabledHighKeeperSDA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableHJAck
(
I3C_TypeDef
*
p_i3c
)
-
Hot-Join request is acked. Current frame on the bus is continued. A Hot-Join interrupt is sent through HJF flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HJACK LL_I3C_EnableHJAck
Note
This bit can be used when I3C is acting as a controller.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHJAck
(
I3C_TypeDef
*
p_i3c
)
-
Hot-Join request is NACKed. Current frame on the bus is continued. No Hot-Join interrupt is generated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HJACK LL_I3C_DisableHJAck
Note
This bit can be used when I3C is acting as a controller.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHJAck
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Hot-Join request acknowledgement is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HJACK LL_I3C_IsEnabledHJAck
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_DMA_GetRegAddr
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
direction
)
-
Get the data register address used for DMA transfer.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TDR TDB0 LL_I3C_DMA_GetRegAddr
TDWR TDWR LL_I3C_DMA_GetRegAddr
RDR RXRB0 LL_I3C_DMA_GetRegAddr
RDWR RDWR LL_I3C_DMA_GetRegAddr
SR SR LL_I3C_DMA_GetRegAddr
CR CR LL_I3C_DMA_GetRegAddr
- Parameters :
-
p_i3c – I3C Instance
direction – This parameter can be one of the following values:
- Return values :
-
Address – of data register
-
void
LL_I3C_EnableDMAReq_RX
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO reception requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXDMAEN LL_I3C_EnableDMAReq_RX
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_RX
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO reception requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXDMAEN LL_I3C_DisableDMAReq_RX
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_RX
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO reception requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXDMAEN LL_I3C_IsEnabledDMAReq_RX
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetRxFIFOThreshold
(
I3C_TypeDef
*
p_i3c
,
uint32_t
rx_fifo_threshold
)
-
Set the receive FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXTHRES LL_I3C_SetRxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
rx_fifo_threshold – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetRxFIFOThreshold
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the receive FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXTHRES LL_I3C_GetRxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_EnableDMAReq_TX
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO transmission requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXDMAEN LL_I3C_EnableDMAReq_TX
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_TX
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO transmission requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXDMAEN LL_I3C_DisableDMAReq_TX
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_TX
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO transmission requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXDMAEN LL_I3C_IsEnabledDMAReq_TX
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetTxFIFOThreshold
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tx_fifo_threshold
)
-
Set the transmit FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_SetTxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
tx_fifo_threshold – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetTxFIFOThreshold
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the transmit FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_GetTxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
State – of bit (1 or 0).
-
uint32_t
LL_I3C_GetCtrlFifo
(
const
I3C_TypeDef
*
p_i3c
)
-
Get controller FIFO configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_GetCtrlFifo
CFGR SMODE LL_I3C_GetCtrlFifo
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
One – of: LL_I3C_CTRL_FIFO_NONE LL_I3C_CTRL_FIFO_CONTROL_ONLY LL_I3C_CTRL_FIFO_STATUS_ONLY LL_I3C_CTRL_FIFO_ALL
-
void
LL_I3C_EnableDMAReq_Status
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO status requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SDMAEN LL_I3C_EnableDMAReq_Status
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_Status
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO status requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SDMAEN LL_I3C_DisableDMAReq_Status
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_Status
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO status requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SDMAEN LL_I3C_IsEnabledDMAReq_Status
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ConfigCtrlFifo
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tx_fifo_threshold
,
uint32_t
rx_fifo_threshold
,
uint32_t
ctrl_fifo
)
-
Configure the controller fifo.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_ConfigCtrlFifo
CFGR RXTHRES LL_I3C_ConfigCtrlFifo
CFGR TMODE LL_I3C_ConfigCtrlFifo
CFGR SMODE LL_I3C_ConfigCtrlFifo
Note
These bits can only be programmed when EN = 0.
- Parameters :
-
p_i3c – I3C Instance.
tx_fifo_threshold – One of LL_I3C_TXFIFO_THRESHOLD_1_8 or LL_I3C_TXFIFO_THRESHOLD_1_2.
rx_fifo_threshold – One of LL_I3C_RXFIFO_THRESHOLD_1_8 or LL_I3C_RXFIFO_THRESHOLD_1_2.
ctrl_fifo – One of LL_I3C_CTRL_FIFO_NONE, LL_I3C_CTRL_FIFO_CONTROL_ONLY, LL_I3C_CTRL_FIFO_STATUS_ONLY, LL_I3C_CTRL_FIFO_ALL.
-
void
LL_I3C_ConfigTgtFifo
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tx_fifo_threshold
,
uint32_t
rx_fifo_threshold
)
-
Configure the target fifo.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_ConfigTgtFifo
CFGR RXTHRES LL_I3C_ConfigTgtFifo
Note
These bits can only be programmed when EN = 0.
- Parameters :
-
p_i3c – I3C Instance.
tx_fifo_threshold – One of LL_I3C_TXFIFO_THRESHOLD_1_8 or LL_I3C_TXFIFO_THRESHOLD_1_2.
rx_fifo_threshold – One of LL_I3C_RXFIFO_THRESHOLD_1_8 or LL_I3C_RXFIFO_THRESHOLD_1_2.
-
void
LL_I3C_EnableStatusFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Enable the status FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_EnableStatusFIFO
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_EnableStatusFIFO
Note
Not applicable in target mode. status FIFO always disabled in target mode.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStatusFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Disable the status FIFO threshold.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_DisableStatusFIFO
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStatusFIFO
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the status FIFO threshold is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_IsEnabledStatusFIFO
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableControlFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Enable the control and transmit FIFO preloaded before starting a transfer on I3C bus.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_EnableControlFIFO
Note
Not applicable in target mode. control FIFO always disabled in target mode.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableControlFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Disable the control and transmit FIFO preloaded before starting a transfer on I3C bus.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_DisableControlFIFO
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledControlFIFO
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the control and transmit FIFO preloaded is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_IsEnabledControlFIFO
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableDMAReq_Control
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO control word transfer requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_EnableDMAReq_Control
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_Control
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO control word transfer requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_DisableDMAReq_Control
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableAllDMARequests
(
I3C_TypeDef
*
p_i3c
)
-
Disable all I3C DMA request sources (Control, RX, TX, Status) with a single register access.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_DisableAllDMARequests
CFGR RXDMAEN LL_I3C_DisableAllDMARequests
CFGR TXDMAEN LL_I3C_DisableAllDMARequests
CFGR SDMAEN LL_I3C_DisableAllDMARequests
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_Control
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO control word transfer requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_IsEnabledDMAReq_Control
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableOwnDynAddress
(
I3C_TypeDef
*
p_i3c
)
-
Set Own dynamic address as Valid.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DAVAL LL_I3C_EnableOwnDynAddress
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_SetAndEnableOwnDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
own_dynamic_address
)
-
Configure Own dynamic address and set it valid in one operation.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DA,DAVAL LL_I3C_SetAndEnableOwnDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
own_dynamic_address – Value between 0 and 0x7F.
-
void
LL_I3C_DisableOwnDynAddress
(
I3C_TypeDef
*
p_i3c
)
-
Set Own dynamic address as not-Valid.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DAVAL LL_I3C_DisableOwnDynAddress
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledOwnDynAddress
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if own dynamic address is valid or not valid.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DAVAL LL_I3C_IsEnabledOwnDynAddress
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetOwnDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
own_dynamic_address
)
-
Configure Own dynamic address.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DA LL_I3C_SetOwnDynamicAddress
Note
This bit can be programmed in controller mode or during dynamic address procedure from current controller.
- Parameters :
-
p_i3c – I3C Instance.
own_dynamic_address – This parameter must be a value between Min_Data=0 and Max_Data=0x7F
-
uint8_t
LL_I3C_GetOwnDynamicAddress
(
const
I3C_TypeDef
*
p_i3c
)
-
Get Own dynamic address.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DA LL_I3C_GetOwnDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x7F
-
void
LL_I3C_EnableIBI
(
I3C_TypeDef
*
p_i3c
)
-
Set IBI procedure allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 IBIEN LL_I3C_EnableIBI
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIBI
(
I3C_TypeDef
*
p_i3c
)
-
Set IBI procedure not-allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 IBIEN LL_I3C_DisableIBI
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if IBI procedure is allowed or not allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 IBIEN LL_I3C_IsEnabledIBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableControllerRoleReq
(
I3C_TypeDef
*
p_i3c
)
-
Set controller-role request allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 CREN LL_I3C_EnableControllerRoleReq
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableControllerRoleReq
(
I3C_TypeDef
*
p_i3c
)
-
Set controller-role request as not-allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 CREN LL_I3C_DisableControllerRoleReq
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledControllerRoleReq
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if controller-role request is allowed or not-allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 CREN LL_I3C_IsEnabledControllerRoleReq
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableHotJoin
(
I3C_TypeDef
*
p_i3c
)
-
Set Hot-Join allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 HJEN LL_I3C_EnableHotJoin
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHotJoin
(
I3C_TypeDef
*
p_i3c
)
-
Set Hot-Join as not-allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 HJEN LL_I3C_DisableHotJoin
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHotJoin
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Hot-Join is allowed or not-allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 HJEN LL_I3C_IsEnabledHotJoin
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetMaxReadLength
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_read_length
)
-
Configure maximum read length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR MRL LL_I3C_SetMaxReadLength
Note
Those bits can be updated by HW upon reception of GETMRL CCC.
- Parameters :
-
p_i3c – I3C Instance.
max_read_length – This parameter must be a value between Min_Data=0x0 and Max_Data=0xFFFF
-
uint32_t
LL_I3C_GetMaxReadLength
(
const
I3C_TypeDef
*
p_i3c
)
-
Return maximum read length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR MRL LL_I3C_GetMaxReadLength
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0x0 and Max_Data=0xFFFFF
-
void
LL_I3C_ConfigNbIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
nb_ibi_add_data
)
-
Configure the number of additional Mandatory data Byte (MDB) sent to the controller after an acknowledge of the IBI (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR IBIP LL_I3C_ConfigNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
nb_ibi_add_data – This parameter can be one of the following values:
LL_I3C_PAYLOAD_EMPTY << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_1_BYTE << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_2_BYTE << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_3_BYTE << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_4_BYTE << I3C_MAXRLR_IBIP_Pos
-
void
LL_I3C_SetNbIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
nb_ibi_add_data
)
-
Set the number of additional Mandatory data Byte (MDB) sent to the controller after an acknowledge of the IBI (target mode). I3C_MAXRLR_IBIP must be at reset value. It means after a block reset of the I3C Instance.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR IBIP LL_I3C_SetNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
nb_ibi_add_data – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetConfigNbIBIAddData
(
const
I3C_TypeDef
*
p_i3c
)
-
Return the number of additional Mandatory data Byte (MDB) sent to the controller after an acknowledge of the IBI (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR IBIP LL_I3C_GetConfigNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMaxWriteLength
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_write_length_byte
)
-
Configure maximum write length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXWLR MWL LL_I3C_SetMaxWriteLength
Note
Those bits can be updated by HW upon reception of GETMWL CCC.
- Parameters :
-
p_i3c – I3C Instance.
max_write_length_byte – This parameter must be a value between Min_Data=0x0 and Max_Data=0xFFFF
-
uint32_t
LL_I3C_GetMaxWriteLength
(
const
I3C_TypeDef
*
p_i3c
)
-
Return maximum write length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXWLR MWL LL_I3C_GetMaxWriteLength
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0x0 and Max_Data=0xFFFFF
-
void
LL_I3C_ConfigClockWaveForm
(
I3C_TypeDef
*
p_i3c
,
uint32_t
clock_wave_form
)
-
Configure the SCL clock signal waveform.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 TIMINGR0 LL_I3C_ConfigClockWaveForm
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
clock_wave_form – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF.
-
uint32_t
LL_I3C_GetClockWaveForm
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock signal waveform.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 TIMINGR0 LL_I3C_GetClockWaveForm
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFFFFFFFF.
-
void
LL_I3C_SetPeriodClockLowPP
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_low_pp
)
-
Configure the SCL clock low period during I3C push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_PP LL_I3C_SetPeriodClockLowPP
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_low_pp – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockLowPP
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock low period during I3C push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_PP LL_I3C_GetPeriodClockLowPP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPeriodClockHighI3C
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_high_i3c
)
-
Configure the SCL clock High period during I3C open drain and push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I3C LL_I3C_SetPeriodClockHighI3C
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_high_i3c – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockHighI3C
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock high period during I3C open drain and push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I3C LL_I3C_GetPeriodClockHighI3C
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPeriodClockLowOD
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_low_od
)
-
Configure the SCL clock low period during I3C open drain phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_OD LL_I3C_SetPeriodClockLowOD
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_low_od – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockLowOD
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock low period during I3C open phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_OD LL_I3C_GetPeriodClockLowOD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPeriodClockHighI2C
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_high_i2c
)
-
Configure the SCL clock High period during I2C open drain phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I2C LL_I3C_SetPeriodClockHighI2C
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_high_i2c – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockHighI2C
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock high period during I2C open drain phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I2C LL_I3C_GetPeriodClockHighI2C
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetDataHoldTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data_hold_time
)
-
Configure the controller additional hold time on SDA line.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_SetDataHoldTime
- Parameters :
-
p_i3c – I3C Instance.
data_hold_time – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDataHoldTime
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the controller additional hold time on SDA line.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_GetDataHoldTime
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetAvalTiming
(
I3C_TypeDef
*
p_i3c
,
uint32_t
aval_timing
)
-
Configure the Idle, Available state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 AVAL LL_I3C_SetAvalTiming
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
aval_timing – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetAvalTiming
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the Idle, Available integer value state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 AVAL LL_I3C_GetAvalTiming
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetFreeTiming
(
I3C_TypeDef
*
p_i3c
,
uint32_t
free_timing
)
-
Configure the Free state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 FREE LL_I3C_SetFreeTiming
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
free_timing – This parameter must be a value between Min_Data=0 and Max_Data=0x3F.
-
uint32_t
LL_I3C_GetFreeTiming
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the free integer value state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 FREE LL_I3C_GetFreeTiming
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x3F.
-
void
LL_I3C_SetControllerActivityState
(
I3C_TypeDef
*
p_i3c
,
uint32_t
controller_activity_state
)
-
Configure the activity state of the new controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 ASNCR LL_I3C_SetControllerActivityState
Note
Refer to MIPI I3C specification ( https:__www.mipi.org_specifications) for more details related to activity state.
- Parameters :
-
p_i3c – I3C Instance.
controller_activity_state – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetControllerActivityState
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the activity state of the new controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 ASNCR LL_I3C_GetControllerActivityState
Note
Refer to MIPI I3C specification ( https:__www.mipi.org_specifications) for more details related to activity state.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetBusCharacteristic
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_bus_characteristic
)
-
Configure the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_SetBusCharacteristic
TIMINGR1 FREE LL_I3C_SetBusCharacteristic
TIMINGR1 ASNCR LL_I3C_SetBusCharacteristic
TIMINGR1 AVAL LL_I3C_SetBusCharacteristic
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_bus_characteristic – This parameter must be a value between Min_Data=0 and Max_Data=0x107F03FF.
-
uint32_t
LL_I3C_GetBusCharacteristic
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_GetBusCharacteristic
TIMINGR1 FREE LL_I3C_GetBusCharacteristic
TIMINGR1 ASNCR LL_I3C_GetBusCharacteristic
TIMINGR1 AVAL LL_I3C_GetBusCharacteristic
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x107F03FF.
-
void
LL_I3C_SetCtrlBusCharacteristic
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_bus_characteristic
)
-
Configure the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_SetCtrlBusCharacteristic
TIMINGR1 FREE LL_I3C_SetCtrlBusCharacteristic
TIMINGR1 ASNCR LL_I3C_SetCtrlBusCharacteristic
TIMINGR1 IDLE LL_I3C_SetCtrlBusCharacteristic
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_bus_characteristic – This parameter must be a value between Min_Data=0 and Max_Data=0x107F03FF.
-
uint32_t
LL_I3C_GetCtrlBusCharacteristic
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_GetCtrlBusCharacteristic
TIMINGR1 FREE LL_I3C_GetCtrlBusCharacteristic
TIMINGR1 ASNCR LL_I3C_GetCtrlBusCharacteristic
TIMINGR1 IDLE LL_I3C_GetCtrlBusCharacteristic
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x107F03FF.
-
void
LL_I3C_SetTgtBusCharacteristic
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tgt_bus_characteristic
)
-
Configure the target available state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 IDLE LL_I3C_SetTgtBusCharacteristic
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
tgt_bus_characteristic – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetTgtBusCharacteristic
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the target available state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 IDLE LL_I3C_GetTgtBusCharacteristic
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_ConfigStallTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
stall_time_cycle
,
uint32_t
stall_features
)
-
Set the SCL clock stalling configuration. All stall features not selected are disabled.
Note
This configuration can be set when the I3C is acting as controller.
- Parameters :
-
hi3c – Pointer to a hal_i3c_handle_t
stall_time_cycle – Controller clock stall time in number of kernel clock cycles. This parameter must be a number between Min_Data=0x00 and Max_Data=0xFF.
stall_features – Features of the I3C controller to which the stall time will be applied. See Stall feature definition, this parameter is a combination of the following values: LL_I3C_CTRL_STALL_ACK LL_I3C_CTRL_STALL_CCC LL_I3C_CTRL_STALL_TX LL_I3C_CTRL_STALL_RX LL_I3C_CTRL_STALL_I2C_ACK LL_I3C_CTRL_STALL_I2C_TX LL_I3C_CTRL_STALL_I2C_RX LL_I3C_CTRL_STALL_ALL LL_I3C_CTRL_STALL_NONE
-
void
LL_I3C_SetStallTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_stall_time
)
-
Configure the SCL clock stalling time on I3C Bus (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALL LL_I3C_SetStallTime
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_stall_time – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetStallTime
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock stalling time on I3C Bus (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALL LL_I3C_GetStallTime
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_EnableStallACKI2CAddr
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on data ACK/NACK bit of legacy I2C address (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLL LL_I3C_EnableStallACKI2CAddr
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACKI2CAddr
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on data ACK/NACK bit of legacy I2C address (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_DisableStallACKI2CAddr
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACKI2CAddr
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on data ACK/NACK bit of legacy I2C address is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_IsEnabledStallACKI2CAddr
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallACKI2CWrite
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on data ACK/NACK bit of legacy I2C write message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLS LL_I3C_EnableStallACKI2CWrite
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACKI2CWrite
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on data ACK/NACK bit of legacy I2C write message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLS LL_I3C_DisableStallACKI2CWrite
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACKI2CWrite
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on data ACK/NACK bit of legacy I2C write message is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLS LL_I3C_IsEnabledStallACKI2CWrite
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallACKI2CRead
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on data ACK/NACK bit of legacy I2C read message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLR LL_I3C_EnableStallACKI2CRead
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACKI2CRead
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on data ACK/NACK bit of legacy I2C read message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLR LL_I3C_DisableStallACKI2CRead
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACKI2CRead
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on data ACK/NACK bit of legacy I2C read message is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLR LL_I3C_IsEnabledStallACKI2CRead
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallACK
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on ACK bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_EnableStallACK
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACK
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on ACK bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_DisableStallACK
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACK
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on ACK bit is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_IsEnabledStallACK
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallParityCCC
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on Parity bit of command Code byte (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLC LL_I3C_EnableStallParityCCC
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallParityCCC
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on Parity bit of command Code byte (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLC LL_I3C_DisableStallParityCCC
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallParityCCC
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on Parity bit of command Code byte is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLC LL_I3C_IsEnabledStallParityCCC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallParityData
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on Parity bit of data bytes (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLD LL_I3C_EnableStallParityData
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallParityData
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on Parity bit of data bytes (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLD LL_I3C_DisableStallParityData
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallParityData
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on Parity bit of data bytes is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLD LL_I3C_IsEnabledStallParityData
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallTbit
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on T bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLT LL_I3C_EnableStallTbit
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallTbit
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on T bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLT LL_I3C_DisableStallTbit
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallTbit
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on T bit is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLT LL_I3C_IsEnabledStallTbit
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ConfigPayloadEntDAA
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_data_speed_limitation
,
uint32_t
ibi_payload
,
uint32_t
ctrl_role
)
-
Set control capability, IBI payload support and max speed limitation in BCR register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR LL_I3C_ConfigPayloadEntDAA
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
max_data_speed_limitation – This parameter can be one of the following values:
ibi_payload – This parameter can be one of the following values:
ctrl_role – This parameter can be one of the following values:
-
void
LL_I3C_SetDeviceCapabilityOnBus
(
I3C_TypeDef
*
p_i3c
,
uint32_t
device_capability_on_bus
)
-
Configure the device capability on bus as target or controller (MIPI Bus Characteristics Register BCR6).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR6 LL_I3C_SetDeviceCapabilityOnBus
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
device_capability_on_bus – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDeviceCapabilityOnBus
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the device capability on bus as target or controller (MIPI Bus Characteristics Register BCR6).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR6 LL_I3C_GetDeviceCapabilityOnBus
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetDeviceIBIPayload
(
I3C_TypeDef
*
p_i3c
,
uint32_t
device_ibi_payload
)
-
Configure the device IBI payload (MIPI Bus Characteristics Register BCR2).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR2 LL_I3C_SetDeviceIBIPayload
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
device_ibi_payload – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDeviceIBIPayload
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the device IBI payload (MIPI Bus Characteristics Register BCR2).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR2 LL_I3C_GetDeviceIBIPayload
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetDataSpeedLimitation
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data_speed_limitation
)
-
Configure the data Speed Limitation (limitation, as described by I3C_GETMXDSR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR0 LL_I3C_SetDataSpeedLimitation
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
data_speed_limitation – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDataSpeedLimitation
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the data Speed Limitation (limitation, as described by I3C_GETMXDSR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR0 LL_I3C_GetDataSpeedLimitation
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetDeviceCharacteristics
(
I3C_TypeDef
*
p_i3c
,
uint32_t
device_characteristics
)
-
Configure the device Characteristics Register (DCR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DCR DC LL_I3C_SetDeviceCharacteristics
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
Refer MIPI web site for the list of device code available.
- Parameters :
-
p_i3c – I3C Instance.
device_characteristics – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetDeviceCharacteristics
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the device Characteristics Register (DCR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DCR DCR LL_I3C_GetDeviceCharacteristics
Note
Refer MIPI web site to associated value with the list of device code available.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPendingReadMDB
(
I3C_TypeDef
*
p_i3c
,
uint32_t
pending_read_mdb
)
-
Configure IBI MDB support for pending read notification.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETCAPR CAPPEND LL_I3C_SetPendingReadMDB
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
pending_read_mdb – This parameter can be one of the following values:
-
void
LL_I3C_EnablePendingReadMDB
(
I3C_TypeDef
*
p_i3c
)
-
Enable IBI MDB support for pending read notification.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETCAPR CAPPEND LL_I3C_EnablePendingReadMDB
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_GetPendingReadMDB
(
const
I3C_TypeDef
*
p_i3c
)
-
Get IBI MDB support for pending read notification value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETCAPR CAPPEND LL_I3C_GetPendingReadMDB
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetGrpAddrHandoffSupport
(
I3C_TypeDef
*
p_i3c
,
uint32_t
grp_addr_handoff_support
)
-
Configure the Group Management Support bit of MSTCAP1.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPGRP LL_I3C_SetGrpAddrHandoffSupport
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
grp_addr_handoff_support – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetGrpAddrHandoffSupport
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the Group Management Support bit of MSTCAP1.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPGRP LL_I3C_GetGrpAddrHandoffSupport
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetControllerHandoffDelayed
(
I3C_TypeDef
*
p_i3c
,
uint32_t
controller_handoff_delayed
)
-
Configure the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_SetControllerHandoffDelayed
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
controller_handoff_delayed – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetControllerHandoffDelayed
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_GetControllerHandoffDelayed
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_EnableHandOffDelay
(
I3C_TypeDef
*
p_i3c
)
-
Enable the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_EnableHandOffDelay
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHandOffDelay
(
I3C_TypeDef
*
p_i3c
)
-
Disable the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_DisableHandOffDelay
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHandOffDelay
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates if the Delayed controller Handoff bit in MSTCAP2 is enabled. RESET: IBI not Acknowledged. SET: IBI Acknowledged.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_IsEnabledHandOffDelay
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetConfigGETMXDS
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_handoff_activity
,
uint32_t
getmxds_format
,
uint32_t
data_turnaround_duration
,
uint32_t
max_read_turnaround
)
-
Configure GETMXDS response fields.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR HOFFAS,FMT,TSCO,RDTURN LL_I3C_SetConfigGETMXDS
Note
Programmable only when EN = 0.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_handoff_activity – One of LL_I3C_HANDOFF_ACTIVITY_STATE_0..3 (HOFFAS bits).
getmxds_format – One of LL_I3C_GETMXDS_FORMAT_1 / _2_LSB / _2_MID / _2_MSB (FMT bits).
data_turnaround_duration – One of LL_I3C_TURNAROUND_TIME_TSCO_LESS_12NS or LL_I3C_TURNAROUND_TIME_TSCO_GREATER_12NS (TSCO bit).
max_read_turnaround – Value 0..0xF placed in RDTURN[3:0] (only used for format 2 variants).
-
void
LL_I3C_SetHandoffActivityState
(
I3C_TypeDef
*
p_i3c
,
uint32_t
handoff_activity_state
)
-
Configure the activity state after controllership handoff.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR HOFFAS LL_I3C_SetHandoffActivityState
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
handoff_activity_state – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetHandoffActivityState
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the activity state after controllership handoff.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR HOFFAS LL_I3C_GetHandoffActivityState
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMaxDataSpeedFormat
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_data_speed_format
)
-
Configure the max data speed format response for GETMXDS CCC.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR FMT LL_I3C_SetMaxDataSpeedFormat
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
max_data_speed_format – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetMaxDataSpeedFormat
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the max data Speed format response for GETMXDS CCC.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR FMT LL_I3C_GetMaxDataSpeedFormat
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMiddleByteTurnAround
(
I3C_TypeDef
*
p_i3c
,
uint32_t
middle_byte_turn_around
)
-
Configure the middle byte of MaxRdTurn field of GETMXDS CCC format 2 with turnaround.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR RDTURN LL_I3C_SetMiddleByteTurnAround
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
middle_byte_turn_around – This parameter must be a value between Min_Data=0 and Max_Data=0xF.
-
uint32_t
LL_I3C_GetMiddleByteTurnAround
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the value of middle byte of MaxRdTurn field of GETMXDS CCC format 2 with turnaround.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR RDTURN LL_I3C_GetMiddleByteTurnAround
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xF.
-
void
LL_I3C_SetDataTurnAroundTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data_turn_around_time
)
-
Configure clock-to-data turnaround time.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR TSCO LL_I3C_SetDataTurnAroundTime
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
data_turn_around_time – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDataTurnAroundTime
(
const
I3C_TypeDef
*
p_i3c
)
-
Get clock-to-data turnaround time.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR TSCO LL_I3C_GetDataTurnAroundTime
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMIPIInstanceID
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mipi_instance_id
)
-
Configure the MIPI Instance ID.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR MIPIID LL_I3C_SetMIPIInstanceID
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
mipi_instance_id – This parameter must be a value between Min_Data=0 and Max_Data=0xF.
-
uint32_t
LL_I3C_GetMIPIInstanceID
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the MIPI Instance ID.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR MIPIID LL_I3C_GetMIPIInstanceID
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xF.
-
uint32_t
LL_I3C_GetIDTypeSelector
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the ID type selector.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR IDTSEL LL_I3C_GetIDTypeSelector
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0x0 and Max_Data=0x1
-
uint32_t
LL_I3C_GetMIPIManufacturerID
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the MIPI Manufacturer ID.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR MIPIMID LL_I3C_GetMIPIManufacturerID
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x7FFF.
Functions
-
void
LL_I3C_RequestRxFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a reception data FIFO flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXFLUSH LL_I3C_RequestRxFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_RequestTxFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a transmission data FIFO Flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXFLUSH LL_I3C_RequestTxFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_RequestStatusFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a status data FIFO Flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SFLUSH LL_I3C_RequestStatusFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_SetEndOfFrameMode
(
I3C_TypeDef
*
p_i3c
,
uint32_t
eof_frame_config
)
-
Set End of Frame mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR FCFDIS LL_I3C_SetEndOfFrameMode
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
eof_frame_config – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetEndOfFrameMode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get End of Frame mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR FCFDIS LL_I3C_GetEndOfFrameMode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetActivityState
(
const
I3C_TypeDef
*
p_i3c
)
-
Get activity state of controller on the I3C Bus (target only).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 AS LL_I3C_GetActivityState
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetResetAction
(
const
I3C_TypeDef
*
p_i3c
)
-
Get reset action (target only).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 RSTACT LL_I3C_GetResetAction
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_RequestControlFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a control word FIFO Flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CFLUSH LL_I3C_RequestControlFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_RequestFifosFlush
(
I3C_TypeDef
*
p_i3c
,
uint32_t
flush_mask
)
-
Request a combined flush of selected FIFOs (TX / RX / Status / Control).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXFLUSH LL_I3C_RequestFifosFlush
CFGR RXFLUSH LL_I3C_RequestFifosFlush
CFGR SFLUSH LL_I3C_RequestFifosFlush
CFGR CFLUSH LL_I3C_RequestFifosFlush
Note
Each bit is auto cleared by hardware after the flush completes.
- Parameters :
-
p_i3c – I3C instance.
flush_mask – this parameter is a combination of the following values: I3C_CFGR_TXFLUSH (TX FIFO) I3C_CFGR_RXFLUSH (RX FIFO) I3C_CFGR_SFLUSH (Status FIFO) I3C_CFGR_CFLUSH (Control FIFO)
-
void
LL_I3C_RequestTransfer
(
I3C_TypeDef
*
p_i3c
)
-
Request a Transfer start.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TSFSET LL_I3C_RequestTransfer
Note
After request, the current instruction in control Register is executed on I3C Bus.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ControllerHandleMessage
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tgt_addr
,
uint32_t
xfer_size
,
uint32_t
direction
,
uint32_t
msg_type
,
uint32_t
end_mode
)
-
Handles I3C message content on the I3C Bus as controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR ADD LL_I3C_ControllerHandleMessage
CR DCNT LL_I3C_ControllerHandleMessage
CR RNW LL_I3C_ControllerHandleMessage
CR MTYPE LL_I3C_ControllerHandleMessage
CR MEND LL_I3C_ControllerHandleMessage
- Parameters :
-
p_i3c – I3C Instance.
tgt_addr – Specifies the target address to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
xfer_size – Specifies the number of bytes to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=65535.
direction – This parameter can be one of the following values:
msg_type – This parameter can be one of the following values:
end_mode – This parameter can be one of the following values:
-
void
LL_I3C_ControllerHeaderStop
(
I3C_TypeDef
*
p_i3c
)
-
Issue a header message followed by STOP (no data, no address field).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR MTYPE LL_I3C_ControllerHeaderStop
CR MEND LL_I3C_ControllerHeaderStop
Note
Only header (7’h7E arbitration) then STOP. Use when control FIFO disabled and a pure header cycle is required (e.g. bus idle insertion).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ControllerReleaseStop
(
I3C_TypeDef
*
p_i3c
)
-
Issue a RELEASE message followed by STOP (no data, no address field).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR MTYPE LL_I3C_ControllerReleaseStop
CR MEND LL_I3C_ControllerReleaseStop
Note
RELEASE stops SCL until next instruction; then STOP is generated.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ControllerHandleCCC
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ccc_value
,
uint32_t
add_byte_size
,
uint32_t
end_mode
)
-
Handles I3C Common command Code content on the I3C Bus as controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CCC LL_I3C_ControllerHandleCCC
CR DCNT LL_I3C_ControllerHandleCCC
CR MTYPE LL_I3C_ControllerHandleCCC
CR MEND LL_I3C_ControllerHandleCCC
- Parameters :
-
p_i3c – I3C Instance.
ccc_value – Specifies the command Code to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=0x1FF.
add_byte_size – Specifies the number of CCC additional bytes to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=65535.
end_mode – This parameter can be one of the following values:
-
void
LL_I3C_TargetHandleMessage
(
I3C_TypeDef
*
p_i3c
,
uint32_t
msg_type
,
uint32_t
ibi_size_byte
)
-
Handles I3C message content on the I3C Bus as target.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR MTYPE LL_I3C_TargetHandleMessage
CR DCNT LL_I3C_TargetHandleMessage
- Parameters :
-
p_i3c – I3C Instance.
msg_type – This parameter can be one of the following values:
ibi_size_byte – Specifies the number of IBI bytes. This parameter must be a value between Min_Data=0 and Max_Data=65535.
Functions
-
uint8_t
LL_I3C_ReceiveData8
(
const
I3C_TypeDef
*
p_i3c
)
-
Read receive data byte register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RDR RDB0 LL_I3C_ReceiveData8
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFF
-
void
LL_I3C_TransmitData8
(
I3C_TypeDef
*
p_i3c
,
uint8_t
data
)
-
Write in transmit data byte Register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TDR TDB0 LL_I3C_TransmitData8
- Parameters :
-
p_i3c – I3C Instance.
data – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_ReceiveData32
(
const
I3C_TypeDef
*
p_i3c
)
-
Read receive data word register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RDWR RDWR LL_I3C_ReceiveData32
Note
Content of register is filled in Little Endian. The MSB corresponds to the last data byte received, LSB corresponds to first data byte received.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFFFFFF
-
void
LL_I3C_TransmitData32
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data
)
-
Write in transmit data word register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TDWR TDWR LL_I3C_TransmitData32
Note
Content of register is filled in Little Endian. The MSB corresponds to the last data byte transmitted, LSB corresponds to first data byte transmitted.
- Parameters :
-
p_i3c – I3C Instance.
data – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF.
-
void
LL_I3C_WriteControlWord
(
I3C_TypeDef
*
p_i3c
,
uint32_t
control_word
)
-
Write a single control word to CR.
- Reference Manual to LL API cross reference (Register Field Functions) CR LL_I3C_WriteControlWord
-
Note
Use when control FIFO (TMODE) is disabled and one instruction must be issued.
- Parameters :
-
p_i3c – I3C Instance.
control_word – 32-bit control word (ADD/DCNT/RNW/MTYPE/MEND bits as needed).
-
void
LL_I3C_SetIBIPayload
(
I3C_TypeDef
*
p_i3c
,
uint32_t
own_ibi_payload
)
-
Configure the IBI data payload to be sent during IBI (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
IBIDR IBIDR LL_I3C_SetIBIPayload
Note
Content of register is filled in Little Endian. Mean MSB corresponds to last IBI data byte, LSB corresponds to first IBI data byte.
- Parameters :
-
p_i3c – I3C Instance.
own_ibi_payload – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF
-
uint32_t
LL_I3C_GetIBIPayload
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the own IBI data payload (target mode), or get the target IBI received (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
IBIDR IBIDR LL_I3C_GetIBIPayload
Note
Content of register is filled in Little Endian. Mean MSB corresponds to last IBI data byte, LSB corresponds to first IBI data byte.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFFFFFF
-
uint32_t
LL_I3C_GetNbIBIAddData
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the number of data bytes received when reading IBI data (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
RMR IBIRDCNT LL_I3C_GetNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0x7
-
uint32_t
LL_I3C_GetIBITargetAddr
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the target address received during accepted IBI or controller-role request.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RMR RADD LL_I3C_GetIBITargetAddr
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0x3F
-
void
LL_I3C_ConfigTxPreload
(
I3C_TypeDef
*
p_i3c
,
uint16_t
tx_data_count
)
-
Set TX FIFO Preload (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TGTTDR PRELOAD LL_I3C_ConfigTxPreload
TGTTDR TDCNT LL_I3C_ConfigTxPreload
Note
Set high by Software, cleared by hardware when all the bytes to transmit have been loaded to TX FIFO.
- Parameters :
-
p_i3c – I3C Instance.
tx_data_count – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFF
-
uint32_t
LL_I3C_IsActiveTxPreload
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of TX FIFO preload (target mode). RESET: no preload of TX FIFO. SET: preload of TX FIFO ongoing.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TGTTDR PRELOAD LL_I3C_IsActiveTxPreload
Note
Set high by Software, cleared by hardware when all the bytes to transmit have been loaded to TX FIFO.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint16_t
LL_I3C_GetTxPreloadDataCount
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the number of bytes to transmit (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TGTTDR TDCNT LL_I3C_GetTxPreloadDataCount
Note
The return value corresponds to the remaining number of bytes to load in TX FIFO.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFF
-
uint32_t
LL_I3C_GetXferDataCount
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the number of data during a transfer.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR XDCNT LL_I3C_GetXferDataCount
Note
The return value corresponds to number of transmitted bytes reported during Address Assignment process in target mode. The return value corresponds to number of target detected during address Assignment process in controller mode. The return value corresponds to number of data bytes read from or sent to the I3C bus during the message link to MID current value.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFF
-
uint32_t
LL_I3C_IsTargetAbortPrivateRead
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates if a target abort a private read command.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR ABT LL_I3C_IsTargetAbortPrivateRead
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_GetMessageDirection
(
const
I3C_TypeDef
*
p_i3c
)
-
Get direction of the message.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR DIR LL_I3C_GetMessageDirection
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetMessageIdentifier
(
const
I3C_TypeDef
*
p_i3c
)
-
Get message identifier.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR MID LL_I3C_GetMessageIdentifier
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFF, representing the internal hardware counter value.
-
uint32_t
LL_I3C_GetMessageErrorCode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get message error code.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER CODERR LL_I3C_GetMessageErrorCode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetReceiveCommandCode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get CCC code of received command.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RMR RCODE LL_I3C_GetReceiveCommandCode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFF.
Functions
-
void
LL_I3C_SetTargetDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
,
uint32_t
dynamic_addr
)
-
Set dynamic address assigned to target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_SetTargetDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
dynamic_addr – Value between Min_Data=0 to Max_Data=0x7F
-
uint32_t
LL_I3C_GetTargetDynamicAddress
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Get dynamic address assigned to target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_GetTargetDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
Value – between Min_Data=0 to Max_Data=0x7F
-
void
LL_I3C_EnableTargetIBIAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable IBI acknowledgement from target x(controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIACK LL_I3C_EnableTargetIBIAck
Note
The bit DIS is automatically set when CRACK or IBIACK are set. This means DEVRX register access is not allowed. Reset CRACK and IBIACK will reset DIS bit.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableTargetIBIAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable IBI acknowledgement from target x (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIACK LL_I3C_DisableTargetIBIAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsEnabledTargetIBIAck
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if IBI from target x will be Acknowledged or not Acknowledged (controller mode). RESET: IBI not Acknowledged. SET: IBI Acknowledged.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIACK LL_I3C_IsEnabledTargetIBIAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableTargetCRAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable controller-role request acknowledgement from target x(controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX CRACK LL_I3C_EnableTargetCRAck
Note
The bit DIS is automatically set when CRACK or IBIACK are set. This means DEVRX register access is not allowed. Reset CRACK and IBIACK will reset DIS bit.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableTargetCRAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable controller-role request acknowledgement from target x (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX CRACK LL_I3C_DisableTargetCRAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsEnabledTargetCRAck
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if controller-role request from target x will be Acknowledged or not Acknowledged (controller mode). RESET: controller-role request not Acknowledged. SET: controller-role request Acknowledged.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX CRACK LL_I3C_IsEnabledTargetCRAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable additional Mandatory data Byte (MDB) follows the accepted IBI from target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIDEN LL_I3C_EnableIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable additional Mandatory data Byte (MDB) follows the accepted IBI from target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIDEN LL_I3C_DisableIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsEnabledIBIAddData
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if additional Mandatory data Byte (MDB) follows the accepted IBI from target x. RESET: no Mandatory data Byte follows IBI. SET: mandatory data Byte follows IBI.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIDEN LL_I3C_IsEnabledIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableFrameSuspend
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable Suspension of Current transfer during IBI treatment.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX SUSP LL_I3C_EnableFrameSuspend
Note
When set, this feature will allow controller to send a stop condition and CR FIFO is flushed after IBI treatment. Software has to rewrite instructions in control Register to start a new transfer.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableFrameSuspend
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable Suspension of Current transfer during IBI treatment.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX SUSP LL_I3C_DisableFrameSuspend
Note
When set, this feature will allow controller to continue CR FIFO treatment after IBI treatment.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsFrameMustBeSuspended
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if I3C transfer must be Suspended or not Suspended during IBI treatment from target x. RESET: transfer is not suspended. Instruction in CR FIFO are executed after IBI. SET: transfer is suspended (a stop condition is sent). CR FIFO is flushed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX SUSP LL_I3C_IsFrameMustBeSuspended
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsAllowedPayloadUpdate
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if update of the device Characteristics Register is Allowed or not Allowed. RESET: device Characteristics Register update is not Allowed. SET: device Characteristics Register update is Allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DIS LL_I3C_IsAllowedPayloadUpdate
Note
Used to prevent software writing during reception of an IBI or controller-role request from target x.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ConfigDeviceCapabilities
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
,
uint32_t
dynamic_addr
,
uint32_t
IBIAck
,
uint32_t
IBIAddData
,
uint32_t
CRAck
)
-
Set I3C bus devices configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_ConfigDeviceCapabilities
DEVRX IBIACK LL_I3C_ConfigDeviceCapabilities
DEVRX IBIDEN LL_I3C_ConfigDeviceCapabilities
DEVRX CRACK LL_I3C_ConfigDeviceCapabilities
Note
This function is called only when the I3C instance is initialized as controller. This function can be called by the controller application to help the automatic treatment when target have capability of IBI and/or control-Role.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
dynamic_addr – Value between Min_Data=0 to Max_Data=0x7F
IBIAck – Value This parameter can be one of the following values:
IBIAddData – This parameter can be one of the following values:
CRAck – This parameter can be one of the following values:
-
void
LL_I3C_SetDevrx
(
I3C_TypeDef
*
p_i3c
,
uint32_t
devrx_index
,
uint32_t
dynamic_addr
,
uint32_t
IBIAck
,
uint32_t
Susp
,
uint32_t
IBIAddData
,
uint32_t
CRAck
)
-
Set DEVRx.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_SetDevrx
DEVRX IBIACK LL_I3C_SetDevrx
DEVRX IBIDEN LL_I3C_SetDevrx
DEVRX SUSP LL_I3C_SetDevrx
DEVRX CRACK LL_I3C_SetDevrx
Note
This function is called only when the I3C instance is initialized as controller. This function can be called by the controller application to help the automatic treatment when target have capability of IBI and/or control-Role.
- Parameters :
-
p_i3c – I3C Instance.
devrx_index – This parameter must be a value between Min_Data=0 and Max_Data=4
dynamic_addr – Value between Min_Data=0 to Max_Data=0x7F
IBIAck – Value This parameter can be one of the following values:
Susp – This parameter can be one of the following values:
IBIAddData – This parameter can be one of the following values:
CRAck – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDevrx
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
devrx_index
)
-
Get DEVRx raw register value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_GetDevrx
DEVRX IBIACK LL_I3C_GetDevrx
DEVRX IBIDEN LL_I3C_GetDevrx
DEVRX SUSP LL_I3C_GetDevrx
DEVRX CRACK LL_I3C_GetDevrx
- Parameters :
-
p_i3c – I3C Instance.
devrx_index – This parameter must be a value between Min_Data=0 and Max_Data=4
- Return values :
-
Raw – 32-bit value of DEVRX[devrx_index].
Functions
-
uint32_t
LL_I3C_IsActiveFlag
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
flags
)
-
Check if one of the flags is active.
- Reference Manual to LL API cross reference (Register Field Functions) EVR LL_I3C_IsActiveFlag
-
- Parameters :
-
p_i3c – I3C Instance.
flags – I3C_LL_EC_GET_FLAG.
- Return values :
-
0 – no flag is set
1 – at least one of the flags is set
-
uint32_t
LL_I3C_IsActiveFlag_CFE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of control FIFO empty flag. RESET: one or more data are available in control FIFO. SET: no more data available in control FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR CFEF LL_I3C_IsActiveFlag_CFE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_TXFE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of transmit FIFO empty flag. RESET: one or more data are available in transmit FIFO. SET: no more data available in transmit FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR TXFEF LL_I3C_IsActiveFlag_TXFE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of control FIFO not full flag. RESET: one or more free space available in control FIFO. SET: no more free space available in control FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR CFNFF LL_I3C_IsActiveFlag_CFNF
Note
When a transfer is ongoing, the control FIFO must not be written unless this flag is set.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_SFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of status FIFO not empty flag. RESET: one or more free space available in status FIFO. SET: no more free space available in status FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR SFNEF LL_I3C_IsActiveFlag_SFNE
Note
This flag is updated only when the FIFO is used, mean SMODE = 1.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_TXFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of transmit FIFO not full flag. RESET: one or more free space available in transmit FIFO. SET: no more free space available in transmit FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR TXFNFF LL_I3C_IsActiveFlag_TXFNF
Note
When a transfer is ongoing, the transmit FIFO must not be written unless this flag is set.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RXFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of receive FIFO not full flag. RESET: one or more data are available in receive FIFO. SET: no more data available in receive FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RXFNEF LL_I3C_IsActiveFlag_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RXLAST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates that the last receive byte is available. RESET: clear default value. SET: last receive byte ready to read from receive FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RXLASTF LL_I3C_IsActiveFlag_RXLAST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_TXLAST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates that the last transmit byte is written in FIFO. RESET: transmission is not finalized. SET: last transmit byte is written in transmit FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR TXLASTF LL_I3C_IsActiveFlag_TXLAST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_FC
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of Frame Complete flag (controller and target mode). RESET: current Frame transfer is not finalized. SET: current Frame transfer is completed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR FCF LL_I3C_IsActiveFlag_FC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RXTGTEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of reception target end flag (controller mode). RESET: clear default value. SET: target prematurely ended a read command.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RXTGTENDF LL_I3C_IsActiveFlag_RXTGTEND
Note
This flag is set only when status FIFO is not used, mean SMODE = 0.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_ERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of error flag (controller and target mode). RESET: clear default value. SET: One or more Errors are detected.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR ERRF LL_I3C_IsActiveFlag_ERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_IBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of IBI flag (controller mode). RESET: clear default value. SET: An IBI has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR IBIF LL_I3C_IsActiveFlag_IBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_IBIEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of IBI end flag (target mode). RESET: clear default value. SET: IBI procedure is finished.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR IBIENDF LL_I3C_IsActiveFlag_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_CR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of controller-role request flag (controller mode). RESET: clear default value. SET: a controller-role request procedure has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR CRF LL_I3C_IsActiveFlag_CR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_CRUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of controller-role request update flag (target mode). RESET: clear default value. SET: I3C device has gained controller-role of the I3C Bus.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR BCUPDF LL_I3C_IsActiveFlag_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_HJ
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of Hot-Join flag (controller mode). RESET: clear default value. SET: a Hot-Join request has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR HJF LL_I3C_IsActiveFlag_HJ
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_WKP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of wakeup flag (target mode). RESET: clear default value. SET: I3C Internal clock not available on time to treat the falling edge on SCL.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR WKPF LL_I3C_IsActiveFlag_WKP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_GET
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of get flag (target mode). RESET: clear default value. SET: a “get” type CCC has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR GETF LL_I3C_IsActiveFlag_GET
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_STA
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of get status flag (target mode). RESET: clear default value. SET: a GETSTATUS command has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR STAF LL_I3C_IsActiveFlag_STA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DAUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of dynamic address update flag (target mode). RESET: clear default value. SET: own dynamic address has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR DAUPDF LL_I3C_IsActiveFlag_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_MWLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of max write length flag (target mode). RESET: clear default value. SET: max write length has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR MWLUPDF LL_I3C_IsActiveFlag_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_MRLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of max read length flag (target mode). RESET: clear default value. SET: max read length has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR MRLUPDF LL_I3C_IsActiveFlag_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of reset flag (target mode). RESET: clear default value. SET: a reset pattern has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RSTF LL_I3C_IsActiveFlag_RST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_ASUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of active state flag (target mode). RESET: clear default value. SET: the activity state has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR ASUPDF LL_I3C_IsActiveFlag_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_INTUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of interrupt update flag (target mode). RESET: clear default value. SET: One or more authorized interrupts have been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR INTUPDF LL_I3C_IsActiveFlag_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DEF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of define list targets flag (target mode). RESET: clear default value. SET: a define list targets command has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR DEFF LL_I3C_IsActiveFlag_DEF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_GRP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of define list Group addresses flag. RESET: clear default value. SET: define list Group addresses have been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR GRPF LL_I3C_IsActiveFlag_GRP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_PERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of Protocol error flag. RESET: clear default value. SET: protocol error detected.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER PERR LL_I3C_IsActiveFlag_PERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_STALL
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of SCL Stall error flag (target mode). RESET: clear default value. SET: target detected that SCL was stable for more than 125us during I3C SDR read.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER STALL LL_I3C_IsActiveFlag_STALL
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DOVR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of RX or TX FIFO Overrun flag. RESET: clear default value. SET: RX FIFO full or TX FIFO empty depending of direction of message.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER DOVR LL_I3C_IsActiveFlag_DOVR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_COVR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of control or status FIFO Overrun flag (controller mode). RESET: clear default value. SET: status FIFO full or control FIFO empty after Restart.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER COVR LL_I3C_IsActiveFlag_COVR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_ANACK
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of address not acknowledged flag (controller mode). RESET: clear default value. SET: controller detected that target NACKed static or dynamic address.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER ANACK LL_I3C_IsActiveFlag_ANACK
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DNACK
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of data not acknowledged flag (controller mode). RESET: clear default value. SET: controller detected that target NACKed data byte.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER DNACK LL_I3C_IsActiveFlag_DNACK
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of data error flag (controller mode). RESET: clear default value. SET: controller detected data error during controller-role handoff process.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER DERR LL_I3C_IsActiveFlag_DERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ClearFlag_FC
(
I3C_TypeDef
*
p_i3c
)
-
Clear Frame Complete flag (controller and target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CFCF LL_I3C_ClearFlag_FC
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_RXTGTEND
(
I3C_TypeDef
*
p_i3c
)
-
Clear reception target end flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CRXTGTENDF LL_I3C_ClearFlag_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_ERR
(
I3C_TypeDef
*
p_i3c
)
-
Clear error flag (controller and target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CERRF LL_I3C_ClearFlag_ERR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_IBI
(
I3C_TypeDef
*
p_i3c
)
-
Clear IBI flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CIBIF LL_I3C_ClearFlag_IBI
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_IBIEND
(
I3C_TypeDef
*
p_i3c
)
-
Clear IBI end flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CIBIENDF LL_I3C_ClearFlag_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_CR
(
I3C_TypeDef
*
p_i3c
)
-
Clear controller-role request flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CCRF LL_I3C_ClearFlag_CR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_CRUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear controller-role request update flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CCRUPDF LL_I3C_ClearFlag_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_HJ
(
I3C_TypeDef
*
p_i3c
)
-
Clear Hot-Join flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CHJF LL_I3C_ClearFlag_HJ
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_WKP
(
I3C_TypeDef
*
p_i3c
)
-
Clear wakeup flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CWKPF LL_I3C_ClearFlag_WKP
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_GET
(
I3C_TypeDef
*
p_i3c
)
-
Clear get flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CGETF LL_I3C_ClearFlag_GET
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_STA
(
I3C_TypeDef
*
p_i3c
)
-
Clear get status flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CSTAF LL_I3C_ClearFlag_STA
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_DAUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear dynamic address update flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CDAUPDF LL_I3C_ClearFlag_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_MWLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear max write length flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CMWLUPDF LL_I3C_ClearFlag_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_MRLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear max read length flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CMRLUPDF LL_I3C_ClearFlag_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_RST
(
I3C_TypeDef
*
p_i3c
)
-
Clear reset flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CRSTF LL_I3C_ClearFlag_RST
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_ASUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear active state flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CASUPDF LL_I3C_ClearFlag_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_INTUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear interrupt update flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CINTUPDF LL_I3C_ClearFlag_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_DEF
(
I3C_TypeDef
*
p_i3c
)
-
Clear define list targets flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CDEFF LL_I3C_ClearFlag_DEF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_GRP
(
I3C_TypeDef
*
p_i3c
)
-
Clear define list Group addresses flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CGRPF LL_I3C_ClearFlag_GRP
- Parameters :
-
p_i3c – I3C Instance.
Functions
-
void
LL_I3C_EnableIT
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
-
Enable the specified I3C interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_EnableIT
IER SFNEIE LL_I3C_EnableIT
IER TXFNFIE LL_I3C_EnableIT
IER RXFNEIE LL_I3C_EnableIT
IER FCIE LL_I3C_EnableIT
IER RXTGTENDIE LL_I3C_EnableIT
IER ERRIE LL_I3C_EnableIT
IER IBIIE LL_I3C_EnableIT
IER IBIENDIE LL_I3C_EnableIT
IER CRIE LL_I3C_EnableIT
IER CRUPDIE LL_I3C_EnableIT
IER HJIE LL_I3C_EnableIT
IER WKPIE LL_I3C_EnableIT
IER GETIE LL_I3C_EnableIT
IER STAIE LL_I3C_EnableIT
IER DAUPDIE LL_I3C_EnableIT
IER MWLUPDIE LL_I3C_EnableIT
IER MRLUPDIE LL_I3C_EnableIT
IER RSTIE LL_I3C_EnableIT
IER ASUPDIE LL_I3C_EnableIT
IER INTUPDIE LL_I3C_EnableIT
IER DEFIE LL_I3C_EnableIT
IER GRPIE LL_I3C_EnableIT
- Parameters :
-
p_i3c – I3C instance.
mask – interrupt sources to enable. This parameter can be a combination of the following values:
-
void
LL_I3C_DisableIT
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
-
Disable the specified I3C interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_DisableIT
IER SFNEIE LL_I3C_DisableIT
IER TXFNFIE LL_I3C_DisableIT
IER RXFNEIE LL_I3C_DisableIT
IER FCIE LL_I3C_DisableIT
IER RXTGTENDIE LL_I3C_DisableIT
IER ERRIE LL_I3C_DisableIT
IER IBIIE LL_I3C_DisableIT
IER IBIENDIE LL_I3C_DisableIT
IER CRIE LL_I3C_DisableIT
IER CRUPDIE LL_I3C_DisableIT
IER HJIE LL_I3C_DisableIT
IER WKPIE LL_I3C_DisableIT
IER GETIE LL_I3C_DisableIT
IER STAIE LL_I3C_DisableIT
IER DAUPDIE LL_I3C_DisableIT
IER MWLUPDIE LL_I3C_DisableIT
IER MRLUPDIE LL_I3C_DisableIT
IER RSTIE LL_I3C_DisableIT
IER ASUPDIE LL_I3C_DisableIT
IER INTUPDIE LL_I3C_DisableIT
IER DEFIE LL_I3C_DisableIT
IER GRPIE LL_I3C_DisableIT
- Parameters :
-
p_i3c – I3C instance.
mask – interrupt sources to disable. This parameter can be a combination of the following values:
-
uint32_t
LL_I3C_IsEnabledIT
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
-
Check whether the specified I3C interrupts sources are enabled or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_IsEnabledIT
IER SFNEIE LL_I3C_IsEnabledIT
IER TXFNFIE LL_I3C_IsEnabledIT
IER RXFNEIE LL_I3C_IsEnabledIT
IER FCIE LL_I3C_IsEnabledIT
IER RXTGTENDIE LL_I3C_IsEnabledIT
IER ERRIE LL_I3C_IsEnabledIT
IER IBIIE LL_I3C_IsEnabledIT
IER IBIENDIE LL_I3C_IsEnabledIT
IER CRIE LL_I3C_IsEnabledIT
IER CRUPDIE LL_I3C_IsEnabledIT
IER HJIE LL_I3C_IsEnabledIT
IER WKPIE LL_I3C_IsEnabledIT
IER GETIE LL_I3C_IsEnabledIT
IER STAIE LL_I3C_IsEnabledIT
IER DAUPDIE LL_I3C_IsEnabledIT
IER MWLUPDIE LL_I3C_IsEnabledIT
IER MRLUPDIE LL_I3C_IsEnabledIT
IER RSTIE LL_I3C_IsEnabledIT
IER ASUPDIE LL_I3C_IsEnabledIT
IER INTUPDIE LL_I3C_IsEnabledIT
IER DEFIE LL_I3C_IsEnabledIT
IER GRPIE LL_I3C_IsEnabledIT
- Parameters :
-
p_i3c – I3C instance.
mask – Interrupts sources to check. This parameter can be a combination of the following values:
- Return values :
-
State – of interrupts sources (1 or 0).
-
void
LL_I3C_EnableIT_CFNF
(
I3C_TypeDef
*
p_i3c
)
-
Enable control FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_EnableIT_CFNF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_CFNF
(
I3C_TypeDef
*
p_i3c
)
-
Disable control FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_DisableIT_CFNF
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if control FIFO not full interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_IsEnabledIT_CFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_SFNE
(
I3C_TypeDef
*
p_i3c
)
-
Enable status FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER SFNEIE LL_I3C_EnableIT_SFNE
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_SFNE
(
I3C_TypeDef
*
p_i3c
)
-
Disable status FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER SFNEIE LL_I3C_DisableIT_SFNE
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_SFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if status FIFO not empty interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER SFNEIE LL_I3C_IsEnabledIT_SFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_TXFNF
(
I3C_TypeDef
*
p_i3c
)
-
Enable transmit FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER TXFNFIE LL_I3C_EnableIT_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_TXFNF
(
I3C_TypeDef
*
p_i3c
)
-
Disable transmit FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER TXFNFIE LL_I3C_DisableIT_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_TXFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if transmit FIFO not full interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER TXFNFIE LL_I3C_IsEnabledIT_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_RXFNE
(
I3C_TypeDef
*
p_i3c
)
-
Enable receive FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXFNEIE LL_I3C_EnableIT_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_RXFNE
(
I3C_TypeDef
*
p_i3c
)
-
Disable receive FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXFNEIE LL_I3C_DisableIT_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_RXFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if receive FIFO not empty interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXFNEIE LL_I3C_IsEnabledIT_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_FC
(
I3C_TypeDef
*
p_i3c
)
-
Enable Frame Complete interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER FCIE LL_I3C_EnableIT_FC
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_FC
(
I3C_TypeDef
*
p_i3c
)
-
Disable Frame Complete interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER FCIE LL_I3C_DisableIT_FC
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_FC
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Frame Complete interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER FCIE LL_I3C_IsEnabledIT_FC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_RXTGTEND
(
I3C_TypeDef
*
p_i3c
)
-
Enable reception target End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXTGTENDIE LL_I3C_EnableIT_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_RXTGTEND
(
I3C_TypeDef
*
p_i3c
)
-
Disable reception target End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXTGTENDIE LL_I3C_DisableIT_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_RXTGTEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reception target End interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXTGTENDIE LL_I3C_IsEnabledIT_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_ERR
(
I3C_TypeDef
*
p_i3c
)
-
Enable error interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ERRIE LL_I3C_EnableIT_ERR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_ERR
(
I3C_TypeDef
*
p_i3c
)
-
Disable error interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ERRIE LL_I3C_DisableIT_ERR
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_ERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if error interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ERRIE LL_I3C_IsEnabledIT_ERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_IBI
(
I3C_TypeDef
*
p_i3c
)
-
Enable IBI interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIIE LL_I3C_EnableIT_IBI
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_IBI
(
I3C_TypeDef
*
p_i3c
)
-
Disable IBI interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIIE LL_I3C_DisableIT_IBI
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_IBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if IBI interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIIE LL_I3C_IsEnabledIT_IBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_IBIEND
(
I3C_TypeDef
*
p_i3c
)
-
Enable IBI End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIENDIE LL_I3C_EnableIT_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_IBIEND
(
I3C_TypeDef
*
p_i3c
)
-
Disable IBI End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIENDIE LL_I3C_DisableIT_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_IBIEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if IBI End interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIENDIE LL_I3C_IsEnabledIT_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_CR
(
I3C_TypeDef
*
p_i3c
)
-
Enable controller-role interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRIE LL_I3C_EnableIT_CR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_CR
(
I3C_TypeDef
*
p_i3c
)
-
Disable controller-role interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRIE LL_I3C_DisableIT_CR
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_CR
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if controller-role interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRIE LL_I3C_IsEnabledIT_CR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_CRUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable controller-role update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRUPDIE LL_I3C_EnableIT_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_CRUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable controller-role update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRUPDIE LL_I3C_DisableIT_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_CRUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if controller-role update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRUPDIE LL_I3C_IsEnabledIT_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_HJ
(
I3C_TypeDef
*
p_i3c
)
-
Enable Hot-Join interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER HJIE LL_I3C_EnableIT_HJ
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_HJ
(
I3C_TypeDef
*
p_i3c
)
-
Disable Hot-Join interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER HJIE LL_I3C_DisableIT_HJ
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_HJ
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Hot-Join interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER HJIE LL_I3C_IsEnabledIT_HJ
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_WKP
(
I3C_TypeDef
*
p_i3c
)
-
Enable wake up interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER WKPIE LL_I3C_EnableIT_WKP
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_WKP
(
I3C_TypeDef
*
p_i3c
)
-
Disable wake up interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER WKPIE LL_I3C_DisableIT_WKP
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_WKP
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if wakeup is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER WKPIE LL_I3C_IsEnabledIT_WKP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_GET
(
I3C_TypeDef
*
p_i3c
)
-
Enable get command interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GETIE LL_I3C_EnableIT_GET
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_GET
(
I3C_TypeDef
*
p_i3c
)
-
Disable get command interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GETIE LL_I3C_DisableIT_GET
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_GET
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if get command is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GETIE LL_I3C_IsEnabledIT_GET
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_STA
(
I3C_TypeDef
*
p_i3c
)
-
Enable get status interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER STAIE LL_I3C_EnableIT_STA
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_STA
(
I3C_TypeDef
*
p_i3c
)
-
Disable get status interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER STAIE LL_I3C_DisableIT_STA
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_STA
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if get status interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER STAIE LL_I3C_IsEnabledIT_STA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_DAUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable dynamic address update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DAUPDIE LL_I3C_EnableIT_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_DAUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable dynamic address update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DAUPDIE LL_I3C_DisableIT_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_DAUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if dynamic address update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DAUPDIE LL_I3C_IsEnabledIT_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_MWLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable max write length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MWLUPDIE LL_I3C_EnableIT_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_MWLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable max write length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MWLUPDIE LL_I3C_DisableIT_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_MWLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if max write length update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MWLUPDIE LL_I3C_IsEnabledIT_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_MRLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable max read length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MRLUPDIE LL_I3C_EnableIT_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_MRLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable max read length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MRLUPDIE LL_I3C_DisableIT_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_MRLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if max read length update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MRLUPDIE LL_I3C_IsEnabledIT_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_RST
(
I3C_TypeDef
*
p_i3c
)
-
Enable reset interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RSTIE LL_I3C_EnableIT_RST
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_RST
(
I3C_TypeDef
*
p_i3c
)
-
Disable reset interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RSTIE LL_I3C_DisableIT_RST
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_RST
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reset interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RSTIE LL_I3C_IsEnabledIT_RST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_ASUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable activity state update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ASUPDIE LL_I3C_EnableIT_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_ASUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable activity state update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ASUPDIE LL_I3C_DisableIT_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_ASUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if activity state update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ASUPDIE LL_I3C_IsEnabledIT_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_INTUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable interrupt update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER INTUPDIE LL_I3C_EnableIT_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_INTUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable interrupt update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER INTUPDIE LL_I3C_DisableIT_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_INTUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if interrupt update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER INTUPDIE LL_I3C_IsEnabledIT_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_DEF
(
I3C_TypeDef
*
p_i3c
)
-
Enable define list target interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DEFIE LL_I3C_EnableIT_DEF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_DEF
(
I3C_TypeDef
*
p_i3c
)
-
Disable define list target interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DEFIE LL_I3C_DisableIT_DEF
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_DEF
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if define list target interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DEFIE LL_I3C_IsEnabledIT_DEF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_GRP
(
I3C_TypeDef
*
p_i3c
)
-
Enable define list Group addresses interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GRPIE LL_I3C_EnableIT_GRP
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_GRP
(
I3C_TypeDef
*
p_i3c
)
-
Disable define list Group addresses interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GRPIE LL_I3C_DisableIT_GRP
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_GRP
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if define list Group addresses interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GRPIE LL_I3C_IsEnabledIT_GRP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
Functions
-
uint32_t
LL_I3C_IsActiveMaskFlag_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt control FIFO not full flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR CFNFMIS LL_I3C_IsActiveMaskFlag_CFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_SFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt status FIFO not empty flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR SFNEMIS LL_I3C_IsActiveMaskFlag_SFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_TXFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt transmit FIFO not full flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR TXFNFMIS LL_I3C_IsActiveMaskFlag_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_RXFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt receive FIFO not empty flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR RXFNEMIS LL_I3C_IsActiveMaskFlag_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_FC
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt Frame Complete flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR FCMIS LL_I3C_IsActiveMaskFlag_FC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_RXTGTEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt reception target end flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR RXTGTENDMIS LL_I3C_IsActiveMaskFlag_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_ERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt error flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR ERRMIS LL_I3C_IsActiveMaskFlag_ERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_IBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt IBI flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR IBIMIS LL_I3C_IsActiveMaskFlag_IBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_IBIEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt IBI end flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR IBIENDMIS LL_I3C_IsActiveMaskFlag_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_CR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt controller-role flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR CRMIS LL_I3C_IsActiveMaskFlag_CR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_CRUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt controller-role update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR CRUPDMIS LL_I3C_IsActiveMaskFlag_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_HJ
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt Hot-Join flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR HJMIS LL_I3C_IsActiveMaskFlag_HJ
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_WKP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt wakeup is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR WKPMIS LL_I3C_IsActiveMaskFlag_WKP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_GET
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt get command is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR GETMIS LL_I3C_IsActiveMaskFlag_GET
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_STA
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt get status flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR STAMIS LL_I3C_IsActiveMaskFlag_STA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_DAUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt dynamic address update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR DAUPDMIS LL_I3C_IsActiveMaskFlag_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_MWLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt max write length update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR MWLUPDMIS LL_I3C_IsActiveMaskFlag_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_MRLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt max read length update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR MRLUPDMIS LL_I3C_IsActiveMaskFlag_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_RST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt reset flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR RSTMIS LL_I3C_IsActiveMaskFlag_RST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_ASUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt activity state update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR ASUPDMIS LL_I3C_IsActiveMaskFlag_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_INTUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR INTUPDMIS LL_I3C_IsActiveMaskFlag_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_DEF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt define list target flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR DEFMIS LL_I3C_IsActiveMaskFlag_DEF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_GRP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt define list Group addresses flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR GRPMIS LL_I3C_IsActiveMaskFlag_GRP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_Enable
(
I3C_TypeDef
*
p_i3c
)